# #0c2b4a color: Midnight Ocean

#0c2b4a is rgb(12, 43, 74) in RGB and oklch(28.439% 0.06758 251.477) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2b4a |
| RGB | rgb(12, 43, 74) |
| HSL | hsl(210, 72.09%, 16.86%) |
| HSB / HSV | hsv(210 83.78% 29.02%) |
| HWB | hwb(210 4.71% 70.98%) |
| CMYK | cmyk(84% 42% 0% 71%) |
| Lab | lab(16.64 -1.74 -22.95) |
| LCH | lch(16.64 23.01 265.67) |
| OKLab | oklab(28.439% -0.02147 -0.06408) |
| OKLCH | oklch(28.439% 0.06758 251.477) |
| Display P3 | color(display-p3 0.08092 0.16598 0.28096) |
| Rec. 2020 | color(rec2020 0.05952 0.10299 0.21869) |
| Adobe RGB | color(a98-rgb 0.12042 0.18398 0.29187) |
| ProPhoto RGB | color(prophoto-rgb 0.11236 0.12414 0.21368) |
| Linear sRGB | color(srgb-linear 0.00368 0.02416 0.06848) |
| XYZ D65 | color(xyz-d65 0.02251 0.023 0.06804) |
| XYZ D50 | color(xyz-d50 0.02071 0.02229 0.0513) |
| SwiftUI | Color(red: 0.047, green: 0.169, blue: 0.29) |
| UIKit | UIColor(red: 0.047, green: 0.169, blue: 0.29, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2B4A) |
| Android XML | #0C2B4A |

## 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.38:1
- Contrast with black: 1.46:1

## Tints

#0c2b4a, #233e5b, #39516c, #4f657e, #667a8f, #7e8fa1, #97a4b3, #b0bac6, #cad1d9, #e4e8ec

## Shades

#0c2b4a, #09243f, #061d35, #04162a, #031020, #020a17, #01050e, #000206, #000102, #000000

## Tones

#0c2b4a, #102b47, #142b44, #172b41, #1a2b3d, #1d2b3a, #202b37, #232b34, #252b31, #282a2d

## Harmonies

- Complementary: #0c2b4a, #3e2300
- Split: #0c2b4a, #451c0c, #312a00
- Analogous: #0c2b4a, #003141, #25254a
- Triadic: #0c2b4a, #451921, #1d3008
- Tetradic: #0c2b4a, #351f42, #3e2300, #1d3008
- Square: #0c2b4a, #401b33, #3e2300, #00341f
- Monochromatic: #0c2b4a, #00041e, #000d2a, #2c4b6c, #4d6d90

## Questions about #0c2b4a

### What color is #0c2b4a?

#0c2b4a is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 43, 74), in HSL hsl(210, 72.09%, 16.86%) and in OKLCH oklch(28.439% 0.06758 251.477).

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

The complementary color of #0c2b4a is #3e2300. For a calmer combination use the analogous colors #003141 and #25254a. The triadic partners are #451921 and #1d3008.

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

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

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

#0c2b4a is a cool color. In OKLCH its hue is 251 degrees, its lightness 28.4% and its chroma 0.068.
