#0E2151#0E2151

#0E2151 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.092 H 264.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#0E2151
RGBrgb(14, 33, 81)
HSLhsl(223, 71%, 19%)
HSVhsv(223, 83%, 32%)
CMYKcmyk(82.7%, 59.3%, 0%, 68.2%)
CIE-LABlab(14.26, 12.28, -31.63)
CIE-LCHlch(14.26, 33.93, 291.21°)
OKLaboklab(26.53% -0.0086 -0.0911)
OKLCHoklch(26.53% 0.092 264.6)
XYZxyz(2.2096, 1.7749, 8.0091)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2151 #513E0E
analogous
#0E4251 #0E2151 #1C0E51
triadic
#0E2151 #510E21 #21510E
tetradic
#0E2151 #510E42 #513E0E #0E511C
square
#0E2151 #510E42 #513E0E #0E511C
split-complementary
#0E2151 #511C0E #42510E
monochromatic
#050B1A #050C1D #0E2151 #173685 #204CB9

Accessibility & contrast

On white

15.50
#0E2151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0E2151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2151
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2151#FFFFFF#000000##FFFFFF
##0E21511.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#002150
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e2151;
/* rgb */ color: rgb(14, 33, 81);
/* oklch */ color: oklch(26.5% 0.092 264.6);
Tailwind
colors: {
  custom: {
    50: '#585b82',
    500: '#0e2151',
    950: '#000000',
  },
}
SCSS
$custom: #0e2151;
$custom-light: #585b82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2151",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 222.985,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26525,
    "c": 0.09156,
    "h": 264.6
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#0E2151
secondary
#8C712F
accent
#BB3AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2151

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

Preview Lab → · Contrast checker → · Palette generator →

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