#22429D#22429D

#22429D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.153 H 265.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#22429D
RGBrgb(34, 66, 157)
HSLhsl(224, 64%, 37%)
HSVhsv(224, 78%, 62%)
CMYKcmyk(78.3%, 58%, 0%, 38.4%)
CIE-LABlab(31.04, 22.49, -52.85)
CIE-LCHlch(31.04, 57.44, 293.05°)
OKLaboklab(41.38% -0.0123 -0.1526)
OKLCHoklch(41.38% 0.153 265.4)
XYZxyz(8.6916, 6.6698, 32.7211)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22429D #9D7D22
analogous
#22809D #22429D #3F229D
triadic
#22429D #9D2242 #429D22
tetradic
#22429D #9D2280 #9D7D22 #229D3F
square
#22429D #9D2280 #9D7D22 #229D3F
split-complementary
#22429D #9D3F22 #809D22
monochromatic
#0C1838 #172D6B #22429D #2D57CF #5D7EDC

Accessibility & contrast

On white

9.00
#22429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#22429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22429D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22429D#FFFFFF#000000##FFFFFF
##22429D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22429d;
/* rgb */ color: rgb(34, 66, 157);
/* oklch */ color: oklch(41.4% 0.153 265.4);
Tailwind
colors: {
  custom: {
    50: '#7175bb',
    500: '#22429d',
    950: '#000000',
  },
}
SCSS
$custom: #22429d;
$custom-light: #7175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22429d",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 224.39,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.15307,
    "h": 265.4
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#22429D
secondary
#C1A65A
accent
#BC40E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22429D

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

Preview Lab → · Contrast checker → · Palette generator →

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