# #0c2849 color: Midnight Ocean

#0c2849 is rgb(12, 40, 73) in RGB and oklch(27.555% 0.06981 254.591) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2849 |
| RGB | rgb(12, 40, 73) |
| HSL | hsl(212.46, 71.76%, 16.67%) |
| HSB / HSV | hsv(212.46 83.56% 28.63%) |
| HWB | hwb(212.46 4.71% 71.37%) |
| CMYK | cmyk(84% 45% 0% 71%) |
| Lab | lab(15.52 -0.1 -24.04) |
| LCH | lch(15.52 24.04 269.76) |
| OKLab | oklab(27.555% -0.01855 -0.0673) |
| OKLCH | oklch(27.555% 0.06981 254.591) |
| Display P3 | color(display-p3 0.07679 0.15442 0.27678) |
| Rec. 2020 | color(rec2020 0.05481 0.09196 0.21433) |
| Adobe RGB | color(a98-rgb 0.11548 0.17344 0.28806) |
| ProPhoto RGB | color(prophoto-rgb 0.10837 0.11622 0.20993) |
| Linear sRGB | color(srgb-linear 0.00368 0.02122 0.06663) |
| XYZ D65 | color(xyz-d65 0.02113 0.02077 0.06593) |
| XYZ D50 | color(xyz-d50 0.01931 0.02007 0.04969) |
| SwiftUI | Color(red: 0.047, green: 0.157, blue: 0.286) |
| UIKit | UIColor(red: 0.047, green: 0.157, blue: 0.286, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2849) |
| Android XML | #0C2849 |

## 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.84:1
- Contrast with black: 1.42:1

## Tints

#0c2849, #223b5a, #384f6b, #4e637d, #65788f, #7d8da1, #96a3b3, #afb9c6, #c9d0d9, #e4e7ec

## Shades

#0c2849, #09213e, #061b34, #04152a, #030f20, #020917, #01040e, #000206, #000102, #000000

## Tones

#0c2849, #102846, #132843, #16293f, #19293c, #1c2939, #1e2935, #212832, #23282f, #25282b

## Harmonies

- Complementary: #0c2849, #3b2100
- Split: #0c2849, #431a06, #2d2900
- Analogous: #0c2849, #002e41, #252148
- Triadic: #0c2849, #44171d, #182f07
- Tetradic: #0c2849, #341c3f, #3b2100, #182f07
- Square: #0c2849, #3f1830, #3b2100, #00321f
- Monochromatic: #0c2849, #000320, #000a29, #2b486b, #4c6a8f

## Questions about #0c2849

### What color is #0c2849?

#0c2849 is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 40, 73), in HSL hsl(212.46, 71.76%, 16.67%) and in OKLCH oklch(27.555% 0.06981 254.591).

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

The complementary color of #0c2849 is #3b2100. For a calmer combination use the analogous colors #002e41 and #252148. The triadic partners are #44171d and #182f07.

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

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

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

#0c2849 is a cool color. In OKLCH its hue is 255 degrees, its lightness 27.6% and its chroma 0.07.
