#19228B#19228B

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

Color values

HEX#19228B
RGBrgb(25, 34, 139)
HSLhsl(235, 70%, 32%)
HSVhsv(235, 82%, 55%)
CMYKcmyk(82%, 75.5%, 0%, 45.5%)
CIE-LABlab(20.88, 35.95, -58.46)
CIE-LCHlch(20.88, 68.63, 301.59°)
OKLaboklab(33.29% -0.0016 -0.1694)
OKLCHoklch(33.29% 0.169 269.5)
XYZxyz(5.6315, 3.2142, 24.7447)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19228B #8B8219
analogous
#195B8B #19228B #49198B
triadic
#19228B #8B1922 #228B19
tetradic
#19228B #8B195B #8B8219 #198B49
square
#19228B #8B195B #8B8219 #198B49
split-complementary
#19228B #8B4919 #5B8B19
monochromatic
#060923 #101557 #19228B #222FBF #414EDD

Accessibility & contrast

On white

12.78
#19228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#19228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19228B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19228B#FFFFFF#000000##FFFFFF
##19228B1.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)
#00388E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #19228b;
/* rgb */ color: rgb(25, 34, 139);
/* oklch */ color: oklch(33.3% 0.169 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c5eae',
    500: '#19228b',
    950: '#000000',
  },
}
SCSS
$custom: #19228b;
$custom-light: #6c5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#19228b",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 235.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33293,
    "c": 0.16937,
    "h": 269.5
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#19228B
secondary
#BEB442
accent
#DE3BEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #19228B

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

Preview Lab → · Contrast checker → · Palette generator →

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