#0E1D51#0E1D51

#0E1D51 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.097 H 266.9°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#0E1D51
RGBrgb(14, 29, 81)
HSLhsl(227, 71%, 19%)
HSVhsv(227, 83%, 32%)
CMYKcmyk(82.7%, 64.2%, 0%, 68.2%)
CIE-LABlab(13.02, 15.33, -33.64)
CIE-LCHlch(13.02, 36.97, 294.49°)
OKLaboklab(25.6% -0.0053 -0.0971)
OKLCHoklch(25.6% 0.097 266.9)
XYZxyz(2.1052, 1.5659, 7.9743)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1D51 #51420E
analogous
#0E3E51 #0E1D51 #200E51
triadic
#0E1D51 #510E1D #1D510E
tetradic
#0E1D51 #510E3E #51420E #0E5120
square
#0E1D51 #510E3E #51420E #0E5120
split-complementary
#0E1D51 #51200E #3E510E
monochromatic
#05091A #050A1D #0E1D51 #173085 #2042B9

Accessibility & contrast

On white

15.99
#0E1D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0E1D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1D51
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1D51#FFFFFF#000000##FFFFFF
##0E1D511.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1d51;
/* rgb */ color: rgb(14, 29, 81);
/* oklch */ color: oklch(25.6% 0.097 266.9);
Tailwind
colors: {
  custom: {
    50: '#595882',
    500: '#0e1d51',
    950: '#000000',
  },
}
SCSS
$custom: #0e1d51;
$custom-light: #595882;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1d51",
  "rgb": {
    "r": 14,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 226.567,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.09727,
    "h": 266.9
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#0E1D51
secondary
#8C772F
accent
#C53AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1D51

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

Preview Lab → · Contrast checker → · Palette generator →

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