#19228E#19228E

#19228E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.173 H 269.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#19228E
RGBrgb(25, 34, 142)
HSLhsl(235, 70%, 33%)
HSVhsv(235, 82%, 56%)
CMYKcmyk(82.4%, 76.1%, 0%, 44.3%)
CIE-LABlab(21.22, 37.03, -59.77)
CIE-LCHlch(21.22, 70.31, 301.78°)
OKLaboklab(33.63% -0.002 -0.1732)
OKLCHoklch(33.63% 0.173 269.3)
XYZxyz(5.8537, 3.3030, 25.9150)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19228E #8E8519
analogous
#195C8E #19228E #4B198E
triadic
#19228E #8E1922 #228E19
tetradic
#19228E #8E195C #8E8519 #198E4B
square
#19228E #8E195C #8E8519 #198E4B
split-complementary
#19228E #8E4B19 #5C8E19
monochromatic
#070926 #10165A #19228E #222EC2 #434FDE

Accessibility & contrast

On white

12.64
#19228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#19228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19228E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19228E#FFFFFF#000000##FFFFFF
##19228E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19228e;
/* rgb */ color: rgb(25, 34, 142);
/* oklch */ color: oklch(33.6% 0.173 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d5eb0',
    500: '#19228e',
    950: '#000000',
  },
}
SCSS
$custom: #19228e;
$custom-light: #6d5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#19228e",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 235.385,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33633,
    "c": 0.17319,
    "h": 269.3
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#19228E
secondary
#BFB644
accent
#DF3BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #19228E

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

Preview Lab → · Contrast checker → · Palette generator →

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