# #0c2a49 color: Midnight Ocean

#0c2a49 is rgb(12, 42, 73) in RGB and oklch(28.095% 0.06728 252.092) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2a49 |
| RGB | rgb(12, 42, 73) |
| HSL | hsl(210.49, 71.76%, 16.67%) |
| HSB / HSV | hsv(210.49 83.56% 28.63%) |
| HWB | hwb(210.49 4.71% 71.37%) |
| CMYK | cmyk(84% 42% 0% 71%) |
| Lab | lab(16.23 -1.44 -22.92) |
| LCH | lch(16.23 22.96 266.41) |
| OKLab | oklab(28.095% -0.02069 -0.06402) |
| OKLCH | oklch(28.095% 0.06728 252.092) |
| Display P3 | color(display-p3 0.07953 0.16213 0.27709) |
| Rec. 2020 | color(rec2020 0.05767 0.09925 0.21472) |
| Adobe RGB | color(a98-rgb 0.11876 0.18046 0.28822) |
| ProPhoto RGB | color(prophoto-rgb 0.11046 0.12138 0.21037) |
| Linear sRGB | color(srgb-linear 0.00368 0.02315 0.06663) |
| XYZ D65 | color(xyz-d65 0.02182 0.02215 0.06616) |
| XYZ D50 | color(xyz-d50 0.02005 0.02146 0.04988) |
| SwiftUI | Color(red: 0.047, green: 0.165, blue: 0.286) |
| UIKit | UIColor(red: 0.047, green: 0.165, blue: 0.286, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2A49) |
| Android XML | #0C2A49 |

## 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.55:1
- Contrast with black: 1.44:1

## Tints

#0c2a49, #233d5a, #38506b, #4f647d, #66798f, #7e8ea1, #97a4b3, #b0bac6, #cad0d9, #e4e8ec

## Shades

#0c2a49, #09233e, #061c34, #04162a, #031020, #020a17, #01050e, #000206, #000102, #000000

## Tones

#0c2a49, #102a46, #142a43, #172a40, #1a2a3d, #1d2a39, #1f2a36, #222a33, #242a30, #27292c

## Harmonies

- Complementary: #0c2a49, #3d2200
- Split: #0c2a49, #441c0b, #302a00
- Analogous: #0c2a49, #003041, #242449
- Triadic: #0c2a49, #441920, #1c3008
- Tetradic: #0c2a49, #341e41, #3d2200, #1c3008
- Square: #0c2a49, #3f1a32, #3d2200, #00331f
- Monochromatic: #0c2a49, #00041e, #000c29, #2c4a6b, #4c6c8f

## Questions about #0c2a49

### What color is #0c2a49?

#0c2a49 is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 42, 73), in HSL hsl(210.49, 71.76%, 16.67%) and in OKLCH oklch(28.095% 0.06728 252.092).

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

The complementary color of #0c2a49 is #3d2200. For a calmer combination use the analogous colors #003041 and #242449. The triadic partners are #441920 and #1c3008.

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

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

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

#0c2a49 is a cool color. In OKLCH its hue is 252 degrees, its lightness 28.1% and its chroma 0.067.
