#0E1851#0E1851

#0E1851 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.104 H 269.2°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#0E1851
RGBrgb(14, 24, 81)
HSLhsl(231, 71%, 19%)
HSVhsv(231, 83%, 32%)
CMYKcmyk(82.7%, 70.4%, 0%, 68.2%)
CIE-LABlab(11.56, 19.09, -36.04)
CIE-LCHlch(11.56, 40.78, 297.91°)
OKLaboklab(24.51% -0.0015 -0.1042)
OKLCHoklch(24.51% 0.104 269.2)
XYZxyz(1.9924, 1.3405, 7.9367)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1851 #51470E
analogous
#0E3951 #0E1851 #250E51
triadic
#0E1851 #510E18 #18510E
tetradic
#0E1851 #510E39 #51470E #0E5125
square
#0E1851 #510E39 #51470E #0E5125
split-complementary
#0E1851 #51250E #39510E
monochromatic
#05081A #05091D #0E1851 #172785 #2037B9

Accessibility & contrast

On white

16.56
#0E1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0E1851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1851
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1851#FFFFFF#000000##FFFFFF
##0E18511.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#001B50
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0e1851;
/* rgb */ color: rgb(14, 24, 81);
/* oklch */ color: oklch(24.5% 0.104 269.2);
Tailwind
colors: {
  custom: {
    50: '#595482',
    500: '#0e1851',
    950: '#000000',
  },
}
SCSS
$custom: #0e1851;
$custom-light: #595482;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1851",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 231.045,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24509,
    "c": 0.10423,
    "h": 269.2
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#0E1851
secondary
#8C7E2F
accent
#D33AED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E1851

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

Preview Lab → · Contrast checker → · Palette generator →

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