#0E1942#0E1942

#0E1942 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.079 H 268.3°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#0E1942
RGBrgb(14, 25, 66)
HSLhsl(227, 65%, 16%)
HSVhsv(227, 79%, 26%)
CMYKcmyk(78.8%, 62.1%, 0%, 74.1%)
CIE-LABlab(10.42, 11.85, -27.48)
CIE-LCHlch(10.42, 29.92, 293.34°)
OKLaboklab(23.22% -0.0024 -0.0791)
OKLCHoklch(23.22% 0.079 268.3)
XYZxyz(1.5118, 1.1818, 5.3016)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1942 #42370E
analogous
#0E3342 #0E1942 #1D0E42
triadic
#0E1942 #420E19 #19420E
tetradic
#0E1942 #420E33 #42370E #0E421D
square
#0E1942 #420E33 #42370E #0E421D
split-complementary
#0E1942 #421D0E #33420E
monochromatic
#050A19 #050A19 #0E1942 #192C74 #233FA7

Accessibility & contrast

On white

16.98
#0E1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0E1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1942
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1942#FFFFFF#000000##FFFFFF
##0E19421.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0e1942;
/* rgb */ color: rgb(14, 25, 66);
/* oklch */ color: oklch(23.2% 0.079 268.3);
Tailwind
colors: {
  custom: {
    50: '#555577',
    500: '#0e1942',
    950: '#000000',
  },
}
SCSS
$custom: #0e1942;
$custom-light: #555577;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1942",
  "rgb": {
    "r": 14,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 227.308,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23221,
    "c": 0.07912,
    "h": 268.3
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#0E1942
secondary
#7D6C2F
accent
#C440E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0E1942

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0E1942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva