#0E1551#0E1551

#0E1551 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.108 H 270.3°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0E1551
RGBrgb(14, 21, 81)
HSLhsl(234, 71%, 19%)
HSVhsv(234, 83%, 32%)
CMYKcmyk(82.7%, 74.1%, 0%, 68.2%)
CIE-LABlab(10.73, 21.29, -37.39)
CIE-LCHlch(10.73, 43.02, 299.65°)
OKLaboklab(23.91% 0.0005 -0.1082)
OKLCHoklch(23.91% 0.108 270.3)
XYZxyz(1.9340, 1.2236, 7.9172)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1551 #514A0E
analogous
#0E3651 #0E1551 #280E51
triadic
#0E1551 #510E15 #15510E
tetradic
#0E1551 #510E36 #514A0E #0E5128
square
#0E1551 #510E36 #514A0E #0E5128
split-complementary
#0E1551 #51280E #36510E
monochromatic
#05071A #05071D #0E1551 #172385 #2030B9

Accessibility & contrast

On white

16.87
#0E1551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0E1551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1551
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1551#FFFFFF#000000##FFFFFF
##0E15511.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001A50
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0e1551;
/* rgb */ color: rgb(14, 21, 81);
/* oklch */ color: oklch(23.9% 0.108 270.3);
Tailwind
colors: {
  custom: {
    50: '#5a5283',
    500: '#0e1551',
    950: '#000000',
  },
}
SCSS
$custom: #0e1551;
$custom-light: #5a5283;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1551",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 233.731,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23906,
    "c": 0.1082,
    "h": 270.3
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#0E1551
secondary
#8C822F
accent
#DB3AED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E1551

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

Preview Lab → · Contrast checker → · Palette generator →

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