#22429A#22429A

#22429A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.149 H 265.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#22429A
RGBrgb(34, 66, 154)
HSLhsl(224, 64%, 37%)
HSVhsv(224, 78%, 60%)
CMYKcmyk(77.9%, 57.1%, 0%, 39.6%)
CIE-LABlab(30.80, 21.31, -51.42)
CIE-LCHlch(30.80, 55.67, 292.51°)
OKLaboklab(41.13% -0.0125 -0.1484)
OKLCHoklch(41.13% 0.149 265.2)
XYZxyz(8.4386, 6.5687, 31.3887)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22429A #9A7A22
analogous
#227E9A #22429A #3E229A
triadic
#22429A #9A2242 #429A22
tetradic
#22429A #9A227E #9A7A22 #229A3E
square
#22429A #9A227E #9A7A22 #229A3E
split-complementary
#22429A #9A3E22 #7E9A22
monochromatic
#0C1736 #172D68 #22429A #2D57CC #5B7DDB

Accessibility & contrast

On white

9.08
#22429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#22429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22429A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22429A#FFFFFF#000000##FFFFFF
##22429A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22429a;
/* rgb */ color: rgb(34, 66, 154);
/* oklch */ color: oklch(41.1% 0.149 265.2);
Tailwind
colors: {
  custom: {
    50: '#7075b8',
    500: '#22429a',
    950: '#000000',
  },
}
SCSS
$custom: #22429a;
$custom-light: #7075b8;
$custom-dark: #000000;
JSON
{
  "hex": "#22429a",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 224,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.14888,
    "h": 265.2
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#22429A
secondary
#BFA458
accent
#BB41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #22429A

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

Preview Lab → · Contrast checker → · Palette generator →

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