# #0c2a4b color: Midnight Ocean

#0c2a4b is rgb(12, 42, 75) in RGB and oklch(28.241% 0.07034 253.384) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c2a4b |
| RGB | rgb(12, 42, 75) |
| HSL | hsl(211.43, 72.41%, 17.06%) |
| HSB / HSV | hsv(211.43 84% 29.41%) |
| HWB | hwb(211.43 4.71% 70.59%) |
| CMYK | cmyk(84% 44% 0% 71%) |
| Lab | lab(16.35 -0.71 -24.1) |
| LCH | lch(16.35 24.11 268.3) |
| OKLab | oklab(28.241% -0.02012 -0.06741) |
| OKLCH | oklch(28.241% 0.07034 253.384) |
| Display P3 | color(display-p3 0.07953 0.16213 0.28451) |
| Rec. 2020 | color(rec2020 0.0584 0.09942 0.22226) |
| Adobe RGB | color(a98-rgb 0.11876 0.18046 0.29535) |
| ProPhoto RGB | color(prophoto-rgb 0.11214 0.12169 0.21655) |
| Linear sRGB | color(srgb-linear 0.00368 0.02315 0.07036) |
| XYZ D65 | color(xyz-d65 0.02249 0.02242 0.06971) |
| XYZ D50 | color(xyz-d50 0.02059 0.02168 0.05254) |
| SwiftUI | Color(red: 0.047, green: 0.165, blue: 0.294) |
| UIKit | UIColor(red: 0.047, green: 0.165, blue: 0.294, alpha: 1) |
| Flutter / Compose | Color(0xFF0C2A4B) |
| Android XML | #0C2A4B |

## 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.5:1
- Contrast with black: 1.45:1

## Tints

#0c2a4b, #223d5c, #38506d, #4f647e, #667990, #7e8ea2, #97a4b4, #b0bac6, #cad1d9, #e4e8ec

## Shades

#0c2a4b, #092340, #061c35, #04162b, #031021, #020a17, #01050e, #000206, #000102, #000000

## Tones

#0c2a4b, #102a48, #142a44, #172a41, #1a2a3e, #1d2a3b, #202a37, #222a34, #252a30, #272a2d

## Harmonies

- Complementary: #0c2a4b, #3e2300
- Split: #0c2a4b, #451c08, #302a00
- Analogous: #0c2a4b, #003043, #26234b
- Triadic: #0c2a4b, #46181f, #1b3007
- Tetradic: #0c2a4b, #361d42, #3e2300, #1b3007
- Square: #0c2a4b, #401932, #3e2300, #00341f
- Monochromatic: #0c2a4b, #000320, #000c2b, #2c4a6d, #4c6c92

## Questions about #0c2a4b

### What color is #0c2a4b?

#0c2a4b is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(12, 42, 75), in HSL hsl(211.43, 72.41%, 17.06%) and in OKLCH oklch(28.241% 0.07034 253.384).

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

The complementary color of #0c2a4b is #3e2300. For a calmer combination use the analogous colors #003043 and #26234b. The triadic partners are #46181f and #1b3007.

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

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

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

#0c2a4b is a cool color. In OKLCH its hue is 253 degrees, its lightness 28.2% and its chroma 0.07.
