#22428C#22428C

#22428C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.129 H 263.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#22428C
RGBrgb(34, 66, 140)
HSLhsl(222, 61%, 34%)
HSVhsv(222, 76%, 55%)
CMYKcmyk(75.7%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.74, 15.78, -44.59)
CIE-LCHlch(29.74, 47.30, 289.49°)
OKLaboklab(39.98% -0.0137 -0.1283)
OKLCHoklch(39.98% 0.129 263.9)
XYZxyz(7.3398, 6.1292, 25.6021)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22428C #8C6C22
analogous
#22778C #22428C #37228C
triadic
#22428C #8C2242 #428C22
tetradic
#22428C #8C2277 #8C6C22 #228C37
square
#22428C #8C2277 #8C6C22 #228C37
split-complementary
#22428C #8C3722 #778C22
monochromatic
#0A142A #162B5B #22428C #2E59BD #537AD5

Accessibility & contrast

On white

9.43
#22428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#22428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22428C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22428C#FFFFFF#000000##FFFFFF
##22428C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22428c;
/* rgb */ color: rgb(34, 66, 140);
/* oklch */ color: oklch(40.0% 0.129 263.9);
Tailwind
colors: {
  custom: {
    50: '#6d75ae',
    500: '#22428c',
    950: '#000000',
  },
}
SCSS
$custom: #22428c;
$custom-light: #6d75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22428c",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 221.887,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.12899,
    "h": 263.9
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#22428C
secondary
#B99A51
accent
#B444E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22428C

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

Preview Lab → · Contrast checker → · Palette generator →

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