#0E2158#0E2158

#0E2158 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.102 H 265.4°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#0E2158
RGBrgb(14, 33, 88)
HSLhsl(225, 73%, 20%)
HSVhsv(225, 84%, 35%)
CMYKcmyk(84.1%, 62.5%, 0%, 65.5%)
CIE-LABlab(14.87, 15.34, -35.36)
CIE-LCHlch(14.87, 38.54, 293.45°)
OKLaboklab(27.18% -0.0081 -0.1021)
OKLCHoklch(27.18% 0.102 265.4)
XYZxyz(2.4858, 1.8854, 9.4635)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2158 #58450E
analogous
#0E4658 #0E2158 #200E58
triadic
#0E2158 #580E21 #21580E
tetradic
#0E2158 #580E46 #58450E #0E5820
square
#0E2158 #580E46 #58450E #0E5820
split-complementary
#0E2158 #58200E #46580E
monochromatic
#040A1A #060D23 #0E2158 #16358D #1F49C2

Accessibility & contrast

On white

15.25
#0E2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2158
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2158#FFFFFF#000000##FFFFFF
##0E21581.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2158;
/* rgb */ color: rgb(14, 33, 88);
/* oklch */ color: oklch(27.2% 0.102 265.4);
Tailwind
colors: {
  custom: {
    50: '#5a5b88',
    500: '#0e2158',
    950: '#000000',
  },
}
SCSS
$custom: #0e2158;
$custom-light: #5a5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2158",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 224.595,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.27182,
    "c": 0.10244,
    "h": 265.4
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#0E2158
secondary
#927930
accent
#C039EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2158

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

Preview Lab → · Contrast checker → · Palette generator →

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