#0E2159#0E2159

#0E2159 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.104 H 265.5°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#0E2159
RGBrgb(14, 33, 89)
HSLhsl(225, 73%, 20%)
HSVhsv(225, 84%, 35%)
CMYKcmyk(84.3%, 62.9%, 0%, 65.1%)
CIE-LABlab(14.96, 15.77, -35.88)
CIE-LCHlch(14.96, 39.20, 293.73°)
OKLaboklab(27.28% -0.0081 -0.1037)
OKLCHoklch(27.28% 0.104 265.5)
XYZxyz(2.5275, 1.9021, 9.6832)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2159 #59460E
analogous
#0E4659 #0E2159 #200E59
triadic
#0E2159 #590E21 #21590E
tetradic
#0E2159 #590E46 #59460E #0E5920
square
#0E2159 #590E46 #59460E #0E5920
split-complementary
#0E2159 #59200E #46590E
monochromatic
#040A1A #060D24 #0E2159 #16358E #1F48C3

Accessibility & contrast

On white

15.21
#0E2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0E2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2159
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2159#FFFFFF#000000##FFFFFF
##0E21591.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0e2159;
/* rgb */ color: rgb(14, 33, 89);
/* oklch */ color: oklch(27.3% 0.104 265.5);
Tailwind
colors: {
  custom: {
    50: '#5b5b88',
    500: '#0e2159',
    950: '#000000',
  },
}
SCSS
$custom: #0e2159;
$custom-light: #5b5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2159",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 224.8,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27278,
    "c": 0.10398,
    "h": 265.5
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#0E2159
secondary
#937A30
accent
#C138F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2159

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

Preview Lab → · Contrast checker → · Palette generator →

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