#0E215F#0E215F

#0E215F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.113 H 266.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#0E215F
RGBrgb(14, 33, 95)
HSLhsl(226, 74%, 21%)
HSVhsv(226, 85%, 37%)
CMYKcmyk(85.3%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.52, 18.36, -38.98)
CIE-LCHlch(15.52, 43.08, 295.22°)
OKLaboklab(27.87% -0.0079 -0.1127)
OKLCHoklch(27.87% 0.113 266)
XYZxyz(2.7898, 2.0070, 11.0646)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E215F #5F4C0E
analogous
#0E4A5F #0E215F #240E5F
triadic
#0E215F #5F0E21 #215F0E
tetradic
#0E215F #5F0E4A #5F4C0E #0E5F24
square
#0E215F #5F0E4A #5F4C0E #0E5F24
split-complementary
#0E215F #5F240E #4A5F0E
monochromatic
#04091B #060E2A #0E215F #163494 #1E46CA

Accessibility & contrast

On white

14.99
#0E215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0E215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E215F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E215F#FFFFFF#000000##FFFFFF
##0E215F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e215f;
/* rgb */ color: rgb(14, 33, 95);
/* oklch */ color: oklch(27.9% 0.113 266.0);
Tailwind
colors: {
  custom: {
    50: '#5d5b8d',
    500: '#0e215f',
    950: '#000000',
  },
}
SCSS
$custom: #0e215f;
$custom-light: #5d5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e215f",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 225.926,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27869,
    "c": 0.11301,
    "h": 266
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#0E215F
secondary
#998030
accent
#C537F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0E215F

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

Preview Lab → · Contrast checker → · Palette generator →

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