#19228D#19228D

#19228D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.172 H 269.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#19228D
RGBrgb(25, 34, 141)
HSLhsl(235, 70%, 33%)
HSVhsv(235, 82%, 55%)
CMYKcmyk(82.3%, 75.9%, 0%, 44.7%)
CIE-LABlab(21.11, 36.67, -59.34)
CIE-LCHlch(21.11, 69.75, 301.72°)
OKLaboklab(33.52% -0.0019 -0.1719)
OKLCHoklch(33.52% 0.172 269.4)
XYZxyz(5.7790, 3.2731, 25.5213)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19228D #8D8419
analogous
#195C8D #19228D #4A198D
triadic
#19228D #8D1922 #228D19
tetradic
#19228D #8D195C #8D8419 #198D4A
square
#19228D #8D195C #8D8419 #198D4A
split-complementary
#19228D #8D4A19 #5C8D19
monochromatic
#070925 #101559 #19228D #222FC1 #434FDE

Accessibility & contrast

On white

12.69
#19228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#19228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19228D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19228D#FFFFFF#000000##FFFFFF
##19228D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19228d;
/* rgb */ color: rgb(25, 34, 141);
/* oklch */ color: oklch(33.5% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d5eb0',
    500: '#19228d',
    950: '#000000',
  },
}
SCSS
$custom: #19228d;
$custom-light: #6d5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#19228d",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 235.345,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.17192,
    "h": 269.4
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#19228D
secondary
#BFB543
accent
#DF3BED
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080411
muted
#7B7980

Preview Lab

Preview with #19228D

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

Preview Lab → · Contrast checker → · Palette generator →

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