# #0c2d4a color: Midnight Ocean

#0c2d4a is rgb(12, 45, 74) in RGB and oklch(28.986% 0.06524 248.755) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0c2d4a

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2d4a |
| RGB | rgb(12, 45, 74) |
| HSL | hsl(208.06, 72.09%, 16.86%) |
| HSB / HSV | hsv(208.06 83.78% 29.02%) |
| HWB | hwb(208.06 4.71% 70.98%) |
| CMYK | cmyk(84% 39% 0% 71%) |
| Lab | lab(17.36 -3.04 -21.82) |
| LCH | lch(17.36 22.03 262.07) |
| OKLab | oklab(28.986% -0.02364 -0.0608) |
| OKLCH | oklch(28.986% 0.06524 248.755) |
| Display P3 | color(display-p3 0.08374 0.17369 0.28129) |
| Rec. 2020 | color(rec2020 0.06261 0.11033 0.2191) |
| Adobe RGB | color(a98-rgb 0.12378 0.19103 0.29204) |
| ProPhoto RGB | color(prophoto-rgb 0.11454 0.12942 0.21415) |
| Linear sRGB | color(srgb-linear 0.00368 0.02624 0.06848) |
| XYZ D65 | color(xyz-d65 0.02326 0.02449 0.06829) |
| XYZ D50 | color(xyz-d50 0.02151 0.02378 0.0515) |
| SwiftUI | Color(red: 0.047, green: 0.176, blue: 0.29) |
| UIKit | UIColor(red: 0.047, green: 0.176, blue: 0.29, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2D4A) |
| Android XML | #0C2D4A |

## Facts

- Closest name: Midnight Ocean
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: sky-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.1:1
- Contrast with black: 1.49:1

## Tints

#0c2d4a, #23405b, #39536c, #50677d, #677b8f, #7f90a1, #97a5b3, #b0bbc6, #cad1d9, #e4e8ec

## Shades

#0c2d4a, #09263f, #061f35, #04182a, #031120, #020b17, #01060e, #000206, #000102, #000000

## Tones

#0c2d4a, #112d47, #152d44, #182d41, #1b2d3e, #1e2d3b, #212d38, #242c35, #262c32, #292c2e

## Harmonies

- Complementary: #0c2d4a, #402400
- Split: #0c2d4a, #461e11, #342b00
- Analogous: #0c2d4a, #003241, #25274b
- Triadic: #0c2d4a, #461c25, #213109
- Tetradic: #0c2d4a, #352144, #402400, #213109
- Square: #0c2d4a, #401d36, #402400, #02351f
- Monochromatic: #0c2d4a, #00041d, #000f2a, #2c4d6c, #4d6f90

## Questions about #0c2d4a

### What color is #0c2d4a?

#0c2d4a is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 45, 74), in HSL hsl(208.06, 72.09%, 16.86%) and in OKLCH oklch(28.986% 0.06524 248.755).

### What colors go well with #0c2d4a?

The complementary color of #0c2d4a is #402400. For a calmer combination use the analogous colors #003241 and #25274b. The triadic partners are #461c25 and #213109.

### Is white or black text more readable on #0c2d4a?

White text reads better on #0c2d4a: white gives a contrast ratio of 14.1:1 and black gives 1.49:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0c2d4a a warm or cool color?

#0c2d4a is a cool color. In OKLCH its hue is 249 degrees, its lightness 29% and its chroma 0.065.
