#0E1237

A color in the Blue, Sky, Navy family

#0e1237 is a color in the Blue, Sky, Navy family: RGB(14, 18, 55), HSL(234°, 59%, 14%), CMYK(75%, 67%, 0%, 78%). Closest named color: midnightblue. Contrast is 18.1:1 on white and 1.16:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#0e1237
RGBrgb(14 18 55)
RGB (legacy)rgb(14, 18, 55)
RGB %rgb(5% 7% 22%)
HSLhsl(234 59% 14%)
HSV / HSBhsv(234, 75%, 22%)
HWBhwb(234 5% 78%)
CMYKcmyk(75%, 67%, 0%, 78%)
CIELAB (D50)lab(6.89 9.3 -25.23)
LCHlch(6.89 26.89 290.24)
OKLaboklab(0.2051 0.0045 -0.0714)
OKLCHoklch(0.2051 0.0715 273.62)
Decimal922167

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 11
Closest web-safe color#000033
Hue234°
Saturation (HSL / HSV)59% / 75%
Lightness (HSL)14%
Brightness or Value (HSV)22%
Luminance (Rec.601 / Rec.709)8% / 8%
Relative luminance (WCAG)0.008
Red / Green / Blue14 / 18 / 55

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 104.6 / 0 · As background with white / black text: Lc -106.8 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0e1237;
  --color-brand-oklch: oklch(20.51% 0.0715 273.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(14 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0e1237] text-[#0e1237] border-[#0e1237]">