#22419A#22419A

#22419A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.150 H 265.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#22419A
RGBrgb(34, 65, 154)
HSLhsl(225, 64%, 37%)
HSVhsv(225, 78%, 60%)
CMYKcmyk(77.9%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.53, 22.00, -51.87)
CIE-LCHlch(30.53, 56.34, 292.98°)
OKLaboklab(40.92% -0.0117 -0.1497)
OKLCHoklch(40.92% 0.15 265.5)
XYZxyz(8.3807, 6.4528, 31.3694)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22419A #9A7B22
analogous
#227D9A #22419A #3F229A
triadic
#22419A #9A2241 #419A22
tetradic
#22419A #9A227D #9A7B22 #229A3F
square
#22419A #9A227D #9A7B22 #229A3F
split-complementary
#22419A #9A3F22 #7D9A22
monochromatic
#0C1736 #172C68 #22419A #2D56CC #5B7CDB

Accessibility & contrast

On white

9.17
#22419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#22419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22419A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22419A#FFFFFF#000000##FFFFFF
##22419A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22419a;
/* rgb */ color: rgb(34, 65, 154);
/* oklch */ color: oklch(40.9% 0.150 265.5);
Tailwind
colors: {
  custom: {
    50: '#7075b8',
    500: '#22419a',
    950: '#000000',
  },
}
SCSS
$custom: #22419a;
$custom-light: #7075b8;
$custom-dark: #000000;
JSON
{
  "hex": "#22419a",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 224.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.15016,
    "h": 265.5
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#22419A
secondary
#BFA558
accent
#BC41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #22419A

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

Preview Lab → · Contrast checker → · Palette generator →

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