#0E2051#0E2051

#0E2051 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.093 H 265.2°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#0E2051
RGBrgb(14, 32, 81)
HSLhsl(224, 71%, 19%)
HSVhsv(224, 83%, 32%)
CMYKcmyk(82.7%, 60.5%, 0%, 68.2%)
CIE-LABlab(13.94, 13.04, -32.14)
CIE-LCHlch(13.94, 34.68, 292.08°)
OKLaboklab(26.29% -0.0078 -0.0927)
OKLCHoklch(26.29% 0.093 265.2)
XYZxyz(2.1823, 1.7202, 8.0000)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2051 #513F0E
analogous
#0E4151 #0E2051 #1D0E51
triadic
#0E2051 #510E20 #20510E
tetradic
#0E2051 #510E41 #513F0E #0E511D
square
#0E2051 #510E41 #513F0E #0E511D
split-complementary
#0E2051 #511D0E #41510E
monochromatic
#050A1A #050B1D #0E2051 #173585 #2049B9

Accessibility & contrast

On white

15.62
#0E2051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0E2051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2051
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2051#FFFFFF#000000##FFFFFF
##0E20511.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e2051;
/* rgb */ color: rgb(14, 32, 81);
/* oklch */ color: oklch(26.3% 0.093 265.2);
Tailwind
colors: {
  custom: {
    50: '#585a82',
    500: '#0e2051',
    950: '#000000',
  },
}
SCSS
$custom: #0e2051;
$custom-light: #585a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2051",
  "rgb": {
    "r": 14,
    "g": 32,
    "b": 81
  },
  "hsl": {
    "h": 223.881,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26288,
    "c": 0.093,
    "h": 265.2
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#0E2051
secondary
#8C732F
accent
#BD3AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2051

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

Preview Lab → · Contrast checker → · Palette generator →

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