#22429C#22429C

#22429C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.152 H 265.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#22429C
RGBrgb(34, 66, 156)
HSLhsl(224, 64%, 37%)
HSVhsv(224, 78%, 61%)
CMYKcmyk(78.2%, 57.7%, 0%, 38.8%)
CIE-LABlab(30.96, 22.10, -52.38)
CIE-LCHlch(30.96, 56.85, 292.88°)
OKLaboklab(41.3% -0.0124 -0.1512)
OKLCHoklch(41.3% 0.152 265.3)
XYZxyz(8.6065, 6.6358, 32.2733)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22429C #9C7C22
analogous
#227F9C #22429C #3F229C
triadic
#22429C #9C2242 #429C22
tetradic
#22429C #9C227F #9C7C22 #229C3F
square
#22429C #9C227F #9C7C22 #229C3F
split-complementary
#22429C #9C3F22 #7F9C22
monochromatic
#0C1738 #172D6A #22429C #2D57CE #5D7EDC

Accessibility & contrast

On white

9.02
#22429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22429C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22429C#FFFFFF#000000##FFFFFF
##22429C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22429c;
/* rgb */ color: rgb(34, 66, 156);
/* oklch */ color: oklch(41.3% 0.152 265.3);
Tailwind
colors: {
  custom: {
    50: '#7175ba',
    500: '#22429c',
    950: '#000000',
  },
}
SCSS
$custom: #22429c;
$custom-light: #7175ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22429c",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 224.262,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.15167,
    "h": 265.3
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#22429C
secondary
#C0A55A
accent
#BC41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22429C

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

Preview Lab → · Contrast checker → · Palette generator →

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