#0E1A42#0E1A42

#0E1A42 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.078 H 267.5°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0E1A42
RGBrgb(14, 26, 66)
HSLhsl(226, 65%, 16%)
HSVhsv(226, 79%, 26%)
CMYKcmyk(78.8%, 60.6%, 0%, 74.1%)
CIE-LABlab(10.74, 11.07, -26.96)
CIE-LCHlch(10.74, 29.14, 292.33°)
OKLaboklab(23.46% -0.0034 -0.0775)
OKLCHoklch(23.46% 0.078 267.5)
XYZxyz(1.5335, 1.2253, 5.3089)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1A42 #42360E
analogous
#0E3442 #0E1A42 #1C0E42
triadic
#0E1A42 #420E1A #1A420E
tetradic
#0E1A42 #420E34 #42360E #0E421C
square
#0E1A42 #420E34 #42360E #0E421C
split-complementary
#0E1A42 #421C0E #34420E
monochromatic
#050A19 #050A19 #0E1A42 #192E74 #2342A7

Accessibility & contrast

On white

16.87
#0E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1A42
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1A42#FFFFFF#000000##FFFFFF
##0E1A421.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F43
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0e1a42;
/* rgb */ color: rgb(14, 26, 66);
/* oklch */ color: oklch(23.5% 0.078 267.5);
Tailwind
colors: {
  custom: {
    50: '#555677',
    500: '#0e1a42',
    950: '#000000',
  },
}
SCSS
$custom: #0e1a42;
$custom-light: #555677;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1a42",
  "rgb": {
    "r": 14,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 226.154,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23463,
    "c": 0.07761,
    "h": 267.5
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#0E1A42
secondary
#7D6B2F
accent
#C140E8
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0E1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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