# #0f2a4c color: Midnight Ocean

#0f2a4c is rgb(15, 42, 76) in RGB and oklch(28.434% 0.07072 255.586) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0f2a4c |
| RGB | rgb(15, 42, 76) |
| HSL | hsl(213.44, 67.03%, 17.84%) |
| HSB / HSV | hsv(213.44 80.26% 29.8%) |
| HWB | hwb(213.44 5.88% 70.2%) |
| CMYK | cmyk(80% 45% 0% 70%) |
| Lab | lab(16.52 0.19 -24.48) |
| LCH | lch(16.52 24.48 270.44) |
| OKLab | oklab(28.434% -0.01761 -0.0685) |
| OKLCH | oklch(28.434% 0.07072 255.586) |
| Display P3 | color(display-p3 0.08639 0.16228 0.28827) |
| Rec. 2020 | color(rec2020 0.06188 0.09981 0.22608) |
| Adobe RGB | color(a98-rgb 0.12326 0.18046 0.29892) |
| ProPhoto RGB | color(prophoto-rgb 0.11484 0.12218 0.21969) |
| Linear sRGB | color(srgb-linear 0.00478 0.02315 0.07227) |
| XYZ D65 | color(xyz-d65 0.02329 0.02279 0.07155) |
| XYZ D50 | color(xyz-d50 0.02134 0.02204 0.05392) |
| SwiftUI | Color(red: 0.059, green: 0.165, blue: 0.298) |
| UIKit | UIColor(red: 0.059, green: 0.165, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF0F2A4C) |
| Android XML | #0F2A4C |

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

## Tints

#0f2a4c, #253d5d, #3a506e, #50647f, #677991, #7f8ea3, #97a4b5, #b0bac7, #cad1d9, #e4e8ec

## Shades

#0f2a4c, #0b2341, #081c36, #05162c, #031022, #020a18, #01050f, #000206, #000102, #000000

## Tones

#0f2a4c, #132a49, #162a45, #192b42, #1b2b3f, #1e2b3b, #212b38, #232b34, #252a31, #282a2d

## Harmonies

- Complementary: #0f2a4c, #3e2400
- Split: #0f2a4c, #451c07, #2f2b00
- Analogous: #0f2a4c, #003044, #27234b
- Triadic: #0f2a4c, #47191e, #193109
- Tetradic: #0f2a4c, #371e41, #3e2400, #193109
- Square: #0f2a4c, #421931, #3e2400, #003421
- Monochromatic: #0f2a4c, #000320, #000c2b, #2e4a6e, #4e6c93

## Questions about #0f2a4c

### What color is #0f2a4c?

#0f2a4c is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(15, 42, 76), in HSL hsl(213.44, 67.03%, 17.84%) and in OKLCH oklch(28.434% 0.07072 255.586).

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

The complementary color of #0f2a4c is #3e2400. For a calmer combination use the analogous colors #003044 and #27234b. The triadic partners are #47191e and #193109.

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

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

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

#0f2a4c is a cool color. In OKLCH its hue is 256 degrees, its lightness 28.4% and its chroma 0.071.
