# #0c2e4c color: Midnight Ocean

#0c2e4c is rgb(12, 46, 76) in RGB and oklch(29.397% 0.06704 248.947) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2e4c |
| RGB | rgb(12, 46, 76) |
| HSL | hsl(208.13, 72.73%, 17.25%) |
| HSB / HSV | hsv(208.13 84.21% 29.8%) |
| HWB | hwb(208.13 4.71% 70.2%) |
| CMYK | cmyk(84% 39% 0% 70%) |
| Lab | lab(17.82 -2.98 -22.44) |
| LCH | lch(17.82 22.64 262.45) |
| OKLab | oklab(29.397% -0.02408 -0.06256) |
| OKLCH | oklch(29.397% 0.06704 248.947) |
| Display P3 | color(display-p3 0.08518 0.17755 0.28886) |
| Rec. 2020 | color(rec2020 0.06495 0.11417 0.22684) |
| Adobe RGB | color(a98-rgb 0.12548 0.19456 0.29926) |
| ProPhoto RGB | color(prophoto-rgb 0.11731 0.13239 0.22057) |
| Linear sRGB | color(srgb-linear 0.00368 0.02732 0.07227) |
| XYZ D65 | color(xyz-d65 0.02433 0.02554 0.07202) |
| XYZ D50 | color(xyz-d50 0.02247 0.02479 0.05431) |
| SwiftUI | Color(red: 0.047, green: 0.18, blue: 0.298) |
| UIKit | UIColor(red: 0.047, green: 0.18, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2E4C) |
| Android XML | #0C2E4C |

## 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: 13.9:1
- Contrast with black: 1.51:1

## Tints

#0c2e4c, #23415d, #3a546e, #50677f, #677c90, #7f90a2, #97a6b4, #b0bbc7, #cad2d9, #e4e8ec

## Shades

#0c2e4c, #092741, #061f36, #04182c, #031222, #020b18, #01060f, #000206, #000102, #000000

## Tones

#0c2e4c, #112e49, #152e46, #192e43, #1c2e40, #1f2e3c, #222e39, #252d36, #272d33, #2a2d30

## Harmonies

- Complementary: #0c2e4c, #412500
- Split: #0c2e4c, #481f11, #352c00
- Analogous: #0c2e4c, #003343, #26284d
- Triadic: #0c2e4c, #471c25, #223209
- Tetradic: #0c2e4c, #362245, #412500, #223209
- Square: #0c2e4c, #411e37, #412500, #013620
- Monochromatic: #0c2e4c, #00041e, #00102c, #2d4e6e, #4e7092

## Questions about #0c2e4c

### What color is #0c2e4c?

#0c2e4c is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 46, 76), in HSL hsl(208.13, 72.73%, 17.25%) and in OKLCH oklch(29.397% 0.06704 248.947).

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

The complementary color of #0c2e4c is #412500. For a calmer combination use the analogous colors #003343 and #26284d. The triadic partners are #471c25 and #223209.

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

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

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

#0c2e4c is a cool color. In OKLCH its hue is 249 degrees, its lightness 29.4% and its chroma 0.067.
