#22419C#22419C

#22419C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.153 H 265.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#22419C
RGBrgb(34, 65, 156)
HSLhsl(225, 64%, 37%)
HSVhsv(225, 78%, 61%)
CMYKcmyk(78.2%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.69, 22.78, -52.83)
CIE-LCHlch(30.69, 57.53, 293.33°)
OKLaboklab(41.09% -0.0116 -0.1525)
OKLCHoklch(41.09% 0.153 265.6)
XYZxyz(8.5486, 6.5200, 32.2540)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22419C #9C7D22
analogous
#227E9C #22419C #40229C
triadic
#22419C #9C2241 #419C22
tetradic
#22419C #9C227E #9C7D22 #229C40
square
#22419C #9C227E #9C7D22 #229C40
split-complementary
#22419C #9C4022 #7E9C22
monochromatic
#0C1738 #172C6A #22419C #2D56CE #5D7DDC

Accessibility & contrast

On white

9.11
#22419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#22419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22419C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22419C#FFFFFF#000000##FFFFFF
##22419C1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22419c;
/* rgb */ color: rgb(34, 65, 156);
/* oklch */ color: oklch(41.1% 0.153 265.6);
Tailwind
colors: {
  custom: {
    50: '#7175ba',
    500: '#22419c',
    950: '#000000',
  },
}
SCSS
$custom: #22419c;
$custom-light: #7175ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22419c",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 224.754,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.15294,
    "h": 265.6
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#22419C
secondary
#C0A65A
accent
#BD41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22419C

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

Preview Lab → · Contrast checker → · Palette generator →

#22419C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva