#19218D#19218D

#19218D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.173 H 269.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#19218D
RGBrgb(25, 33, 141)
HSLhsl(236, 70%, 33%)
HSVhsv(236, 82%, 55%)
CMYKcmyk(82.3%, 76.6%, 0%, 44.7%)
CIE-LABlab(20.89, 37.27, -59.69)
CIE-LCHlch(20.89, 70.37, 301.98°)
OKLaboklab(33.37% -0.0015 -0.1729)
OKLCHoklch(33.37% 0.173 269.5)
XYZxyz(5.7508, 3.2168, 25.5120)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19218D #8D8519
analogous
#195B8D #19218D #4B198D
triadic
#19218D #8D1921 #218D19
tetradic
#19218D #8D195B #8D8519 #198D4B
square
#19218D #8D195B #8D8519 #198D4B
split-complementary
#19218D #8D4B19 #5B8D19
monochromatic
#070925 #101559 #19218D #222DC1 #434DDE

Accessibility & contrast

On white

12.78
#19218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#19218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19218D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19218D#FFFFFF#000000##FFFFFF
##19218D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19218d;
/* rgb */ color: rgb(25, 33, 141);
/* oklch */ color: oklch(33.4% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d5db0',
    500: '#19218d',
    950: '#000000',
  },
}
SCSS
$custom: #19218d;
$custom-light: #6d5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#19218d",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 235.862,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.17294,
    "h": 269.5
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#19218D
secondary
#BFB643
accent
#E03BED
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080411
muted
#7B7980

Preview Lab

Preview with #19218D

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

Preview Lab → · Contrast checker → · Palette generator →

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