#22428F#22428F

#22428F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.133 H 264.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#22428F
RGBrgb(34, 66, 143)
HSLhsl(222, 62%, 35%)
HSVhsv(222, 76%, 56%)
CMYKcmyk(76.2%, 53.8%, 0%, 43.9%)
CIE-LABlab(29.96, 16.97, -46.07)
CIE-LCHlch(29.96, 49.10, 290.22°)
OKLaboklab(40.22% -0.0134 -0.1326)
OKLCHoklch(40.22% 0.133 264.2)
XYZxyz(7.5641, 6.2189, 26.7830)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22428F #8F6F22
analogous
#22798F #22428F #38228F
triadic
#22428F #8F2242 #428F22
tetradic
#22428F #8F2279 #8F6F22 #228F38
square
#22428F #8F2279 #8F6F22 #228F38
split-complementary
#22428F #8F3822 #798F22
monochromatic
#0A142C #162B5E #22428F #2E59C0 #557BD7

Accessibility & contrast

On white

9.36
#22428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22428F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22428F#FFFFFF#000000##FFFFFF
##22428F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22428f;
/* rgb */ color: rgb(34, 66, 143);
/* oklch */ color: oklch(40.2% 0.133 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d75b0',
    500: '#22428f',
    950: '#000000',
  },
}
SCSS
$custom: #22428f;
$custom-light: #6d75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22428f",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 222.385,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.13331,
    "h": 264.2
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#22428F
secondary
#BA9C52
accent
#B543E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #22428F

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

Preview Lab → · Contrast checker → · Palette generator →

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