#22419D#22419D

#22419D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.154 H 265.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#22419D
RGBrgb(34, 65, 157)
HSLhsl(225, 64%, 37%)
HSVhsv(225, 78%, 62%)
CMYKcmyk(78.3%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.77, 23.17, -53.30)
CIE-LCHlch(30.77, 58.12, 293.49°)
OKLaboklab(41.18% -0.0116 -0.1539)
OKLCHoklch(41.18% 0.154 265.7)
XYZxyz(8.6336, 6.5540, 32.7018)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22419D #9D7E22
analogous
#227F9D #22419D #40229D
triadic
#22419D #9D2241 #419D22
tetradic
#22419D #9D227F #9D7E22 #229D40
square
#22419D #9D227F #9D7E22 #229D40
split-complementary
#22419D #9D4022 #7F9D22
monochromatic
#0C1738 #172C6B #22419D #2D56CF #5D7DDC

Accessibility & contrast

On white

9.09
#22419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#22419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22419D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22419D#FFFFFF#000000##FFFFFF
##22419D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22419d;
/* rgb */ color: rgb(34, 65, 157);
/* oklch */ color: oklch(41.2% 0.154 265.7);
Tailwind
colors: {
  custom: {
    50: '#7175bb',
    500: '#22419d',
    950: '#000000',
  },
}
SCSS
$custom: #22419d;
$custom-light: #7175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22419d",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 224.878,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.15434,
    "h": 265.7
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#22419D
secondary
#C1A75A
accent
#BD40E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22419D

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

Preview Lab → · Contrast checker → · Palette generator →

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