#19228F#19228F

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

Color values

HEX#19228F
RGBrgb(25, 34, 143)
HSLhsl(235, 70%, 33%)
HSVhsv(235, 83%, 56%)
CMYKcmyk(82.5%, 76.2%, 0%, 43.9%)
CIE-LABlab(21.33, 37.39, -60.21)
CIE-LCHlch(21.33, 70.87, 301.84°)
OKLaboklab(33.75% -0.0022 -0.1744)
OKLCHoklch(33.75% 0.174 269.3)
XYZxyz(5.9292, 3.3332, 26.3122)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19228F #8F8619
analogous
#195D8F #19228F #4B198F
triadic
#19228F #8F1922 #228F19
tetradic
#19228F #8F195D #8F8619 #198F4B
square
#19228F #8F195D #8F8619 #198F4B
split-complementary
#19228F #8F4B19 #5D8F19
monochromatic
#070927 #10165B #19228F #222EC3 #4450DE

Accessibility & contrast

On white

12.60
#19228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#19228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19228F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19228F#FFFFFF#000000##FFFFFF
##19228F1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19228f;
/* rgb */ color: rgb(25, 34, 143);
/* oklch */ color: oklch(33.7% 0.174 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d5eb1',
    500: '#19228f',
    950: '#000000',
  },
}
SCSS
$custom: #19228f;
$custom-light: #6d5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#19228f",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 235.424,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33746,
    "c": 0.17445,
    "h": 269.3
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19228F

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

Preview Lab → · Contrast checker → · Palette generator →

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