#22419B#22419B

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

Color values

HEX#22419B
RGBrgb(34, 65, 155)
HSLhsl(225, 64%, 37%)
HSVhsv(225, 78%, 61%)
CMYKcmyk(78.1%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.61, 22.39, -52.35)
CIE-LCHlch(30.61, 56.94, 293.15°)
OKLaboklab(41% -0.0117 -0.1511)
OKLCHoklch(41% 0.152 265.6)
XYZxyz(8.4643, 6.4863, 31.8099)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22419B #9B7C22
analogous
#227E9B #22419B #40229B
triadic
#22419B #9B2241 #419B22
tetradic
#22419B #9B227E #9B7C22 #229B40
square
#22419B #9B227E #9B7C22 #229B40
split-complementary
#22419B #9B4022 #7E9B22
monochromatic
#0C1737 #172C69 #22419B #2D56CD #5C7DDB

Accessibility & contrast

On white

9.14
#22419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22419B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22419B#FFFFFF#000000##FFFFFF
##22419B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22419b;
/* rgb */ color: rgb(34, 65, 155);
/* oklch */ color: oklch(41.0% 0.152 265.6);
Tailwind
colors: {
  custom: {
    50: '#7175b9',
    500: '#22419b',
    950: '#000000',
  },
}
SCSS
$custom: #22419b;
$custom-light: #7175b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22419b",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 224.628,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.15155,
    "h": 265.6
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#22419B
secondary
#C0A559
accent
#BC41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22419B

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

Preview Lab → · Contrast checker → · Palette generator →

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