#0E215B#0E215B

#0E215B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.107 H 265.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#0E215B
RGBrgb(14, 33, 91)
HSLhsl(225, 73%, 21%)
HSVhsv(225, 85%, 36%)
CMYKcmyk(84.6%, 63.7%, 0%, 64.3%)
CIE-LABlab(15.15, 16.64, -36.93)
CIE-LCHlch(15.15, 40.50, 294.25°)
OKLaboklab(27.47% -0.008 -0.1067)
OKLCHoklch(27.47% 0.107 265.7)
XYZxyz(2.6126, 1.9361, 10.1315)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E215B #5B480E
analogous
#0E475B #0E215B #210E5B
triadic
#0E215B #5B0E21 #215B0E
tetradic
#0E215B #5B0E47 #5B480E #0E5B21
square
#0E215B #5B0E47 #5B480E #0E5B21
split-complementary
#0E215B #5B210E #475B0E
monochromatic
#040A1B #060E26 #0E215B #163490 #1E47C5

Accessibility & contrast

On white

15.14
#0E215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0E215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E215B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E215B#FFFFFF#000000##FFFFFF
##0E215B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0e215b;
/* rgb */ color: rgb(14, 33, 91);
/* oklch */ color: oklch(27.5% 0.107 265.7);
Tailwind
colors: {
  custom: {
    50: '#5b5b8a',
    500: '#0e215b',
    950: '#000000',
  },
}
SCSS
$custom: #0e215b;
$custom-light: #5b5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e215b",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 225.195,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27473,
    "c": 0.10701,
    "h": 265.7
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#0E215B
secondary
#957C30
accent
#C338F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0E215B

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

Preview Lab → · Contrast checker → · Palette generator →

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