#22428E#22428E

#22428E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.132 H 264.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#22428E
RGBrgb(34, 66, 142)
HSLhsl(222, 61%, 35%)
HSVhsv(222, 76%, 56%)
CMYKcmyk(76.1%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.88, 16.58, -45.58)
CIE-LCHlch(29.88, 48.50, 289.99°)
OKLaboklab(40.14% -0.0135 -0.1312)
OKLCHoklch(40.14% 0.132 264.1)
XYZxyz(7.4887, 6.1887, 26.3858)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22428E #8E6E22
analogous
#22788E #22428E #38228E
triadic
#22428E #8E2242 #428E22
tetradic
#22428E #8E2278 #8E6E22 #228E38
square
#22428E #8E2278 #8E6E22 #228E38
split-complementary
#22428E #8E3822 #788E22
monochromatic
#0A142B #162B5D #22428E #2E59BF #547BD6

Accessibility & contrast

On white

9.38
#22428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#22428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22428E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22428E#FFFFFF#000000##FFFFFF
##22428E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22428e;
/* rgb */ color: rgb(34, 66, 142);
/* oklch */ color: oklch(40.1% 0.132 264.1);
Tailwind
colors: {
  custom: {
    50: '#6d75b0',
    500: '#22428e',
    950: '#000000',
  },
}
SCSS
$custom: #22428e;
$custom-light: #6d75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22428e",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 222.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.13187,
    "h": 264.1
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#22428E
secondary
#BA9B52
accent
#B543E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22428E

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

Preview Lab → · Contrast checker → · Palette generator →

#22428E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva