#19218F#19218F

#19218F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.175 H 269.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#19218F
RGBrgb(25, 33, 143)
HSLhsl(236, 70%, 33%)
HSVhsv(236, 83%, 56%)
CMYKcmyk(82.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(21.12, 37.98, -60.56)
CIE-LCHlch(21.12, 71.49, 302.10°)
OKLaboklab(33.6% -0.0018 -0.1754)
OKLCHoklch(33.6% 0.175 269.4)
XYZxyz(5.9010, 3.2769, 26.3028)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19218F #8F8719
analogous
#195C8F #19218F #4C198F
triadic
#19218F #8F1921 #218F19
tetradic
#19218F #8F195C #8F8719 #198F4C
square
#19218F #8F195C #8F8719 #198F4C
split-complementary
#19218F #8F4C19 #5C8F19
monochromatic
#070927 #10155B #19218F #222DC3 #444FDE

Accessibility & contrast

On white

12.68
#19218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#19218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19218F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19218F#FFFFFF#000000##FFFFFF
##19218F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19218f;
/* rgb */ color: rgb(25, 33, 143);
/* oklch */ color: oklch(33.6% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e5eb1',
    500: '#19218f',
    950: '#000000',
  },
}
SCSS
$custom: #19218f;
$custom-light: #6e5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#19218f",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 235.932,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33596,
    "c": 0.17546,
    "h": 269.4
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#19218F
secondary
#BFB744
accent
#E13BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #19218F

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

Preview Lab → · Contrast checker → · Palette generator →

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