#0E1251#0E1251

#0E1251 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.112 H 271.2°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#0E1251
RGBrgb(14, 18, 81)
HSLhsl(236, 71%, 19%)
HSVhsv(236, 83%, 32%)
CMYKcmyk(82.7%, 77.8%, 0%, 68.2%)
CIE-LABlab(9.95, 23.41, -38.67)
CIE-LCHlch(9.95, 45.20, 301.18°)
OKLaboklab(23.35% 0.0023 -0.1119)
OKLCHoklch(23.35% 0.112 271.2)
XYZxyz(1.8821, 1.1199, 7.8999)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1251 #514D0E
analogous
#0E3351 #0E1251 #2B0E51
triadic
#0E1251 #510E12 #12510E
tetradic
#0E1251 #510E33 #514D0E #0E512B
square
#0E1251 #510E33 #514D0E #0E512B
split-complementary
#0E1251 #512B0E #33510E
monochromatic
#05061A #05061D #0E1251 #171E85 #2029B9

Accessibility & contrast

On white

17.16
#0E1251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0E1251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1251
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1251#FFFFFF#000000##FFFFFF
##0E12511.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001850
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e1251;
/* rgb */ color: rgb(14, 18, 81);
/* oklch */ color: oklch(23.3% 0.112 271.2);
Tailwind
colors: {
  custom: {
    50: '#5a5083',
    500: '#0e1251',
    950: '#000000',
  },
}
SCSS
$custom: #0e1251;
$custom-light: #5a5083;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1251",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 81
  },
  "hsl": {
    "h": 236.418,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23345,
    "c": 0.11196,
    "h": 271.2
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#0E1251
secondary
#8C862F
accent
#E33AED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0E1251

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

Preview Lab → · Contrast checker → · Palette generator →

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