#19218B#19218B

#19218B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.170 H 269.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#19218B
RGBrgb(25, 33, 139)
HSLhsl(236, 70%, 32%)
HSVhsv(236, 82%, 55%)
CMYKcmyk(82%, 76.3%, 0%, 45.5%)
CIE-LABlab(20.67, 36.56, -58.82)
CIE-LCHlch(20.67, 69.26, 301.86°)
OKLaboklab(33.14% -0.0012 -0.1704)
OKLCHoklch(33.14% 0.17 269.6)
XYZxyz(5.6034, 3.1578, 24.7353)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19218B #8B8319
analogous
#195A8B #19218B #4A198B
triadic
#19218B #8B1921 #218B19
tetradic
#19218B #8B195A #8B8319 #198B4A
square
#19218B #8B195A #8B8319 #198B4A
split-complementary
#19218B #8B4A19 #5A8B19
monochromatic
#060823 #101557 #19218B #222DBF #414CDD

Accessibility & contrast

On white

12.87
#19218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#19218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19218B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19218B#FFFFFF#000000##FFFFFF
##19218B1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19218b;
/* rgb */ color: rgb(25, 33, 139);
/* oklch */ color: oklch(33.1% 0.170 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c5dae',
    500: '#19218b',
    950: '#000000',
  },
}
SCSS
$custom: #19218b;
$custom-light: #6c5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#19218b",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 235.789,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.1704,
    "h": 269.6
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#19218B
secondary
#BEB542
accent
#E03BEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #19218B

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

Preview Lab → · Contrast checker → · Palette generator →

#19218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva