#0E1151#0E1151

#0E1151 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.113 H 271.4°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#0E1151
RGBrgb(14, 17, 81)
HSLhsl(237, 71%, 19%)
HSVhsv(237, 83%, 32%)
CMYKcmyk(82.7%, 79%, 0%, 68.2%)
CIE-LABlab(9.70, 24.09, -39.08)
CIE-LCHlch(9.70, 45.91, 301.66°)
OKLaboklab(23.17% 0.0029 -0.1131)
OKLCHoklch(23.17% 0.113 271.4)
XYZxyz(1.8663, 1.0881, 7.8947)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1151 #514E0E
analogous
#0E3251 #0E1151 #2C0E51
triadic
#0E1151 #510E11 #11510E
tetradic
#0E1151 #510E32 #514E0E #0E512C
square
#0E1151 #510E32 #514E0E #0E512C
split-complementary
#0E1151 #512C0E #32510E
monochromatic
#05051A #05061D #0E1151 #171C85 #2027B9

Accessibility & contrast

On white

17.25
#0E1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1151
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1151#FFFFFF#000000##FFFFFF
##0E11511.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001850
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e1151;
/* rgb */ color: rgb(14, 17, 81);
/* oklch */ color: oklch(23.2% 0.113 271.4);
Tailwind
colors: {
  custom: {
    50: '#5a4f83',
    500: '#0e1151',
    950: '#000000',
  },
}
SCSS
$custom: #0e1151;
$custom-light: #5a4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1151",
  "rgb": {
    "r": 14,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 237.313,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23167,
    "c": 0.11316,
    "h": 271.4
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#0E1151
secondary
#8C872F
accent
#E53AED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0E1151

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

Preview Lab → · Contrast checker → · Palette generator →

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