#0E215A#0E215A

#0E215A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.105 H 265.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#0E215A
RGBrgb(14, 33, 90)
HSLhsl(225, 73%, 20%)
HSVhsv(225, 84%, 35%)
CMYKcmyk(84.4%, 63.3%, 0%, 64.7%)
CIE-LABlab(15.06, 16.21, -36.41)
CIE-LCHlch(15.06, 39.85, 294.00°)
OKLaboklab(27.38% -0.008 -0.1052)
OKLCHoklch(27.38% 0.106 265.6)
XYZxyz(2.5698, 1.9190, 9.9058)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E215A #5A470E
analogous
#0E475A #0E215A #210E5A
triadic
#0E215A #5A0E21 #215A0E
tetradic
#0E215A #5A0E47 #5A470E #0E5A21
square
#0E215A #5A0E47 #5A470E #0E5A21
split-complementary
#0E215A #5A210E #475A0E
monochromatic
#040A1A #060E25 #0E215A #16348F #1E48C4

Accessibility & contrast

On white

15.18
#0E215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E215A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E215A#FFFFFF#000000##FFFFFF
##0E215A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e215a;
/* rgb */ color: rgb(14, 33, 90);
/* oklch */ color: oklch(27.4% 0.105 265.6);
Tailwind
colors: {
  custom: {
    50: '#5b5b89',
    500: '#0e215a',
    950: '#000000',
  },
}
SCSS
$custom: #0e215a;
$custom-light: #5b5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#0e215a",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 225,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27375,
    "c": 0.1055,
    "h": 265.6
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#0E215A
secondary
#947B30
accent
#C238F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E215A

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

Preview Lab → · Contrast checker → · Palette generator →

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