#22428B#22428B

#22428B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.128 H 263.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#22428B
RGBrgb(34, 66, 139)
HSLhsl(222, 61%, 34%)
HSVhsv(222, 76%, 55%)
CMYKcmyk(75.5%, 52.5%, 0%, 45.5%)
CIE-LABlab(29.66, 15.39, -44.09)
CIE-LCHlch(29.66, 46.70, 289.24°)
OKLaboklab(39.9% -0.0138 -0.1268)
OKLCHoklch(39.9% 0.128 263.8)
XYZxyz(7.2664, 6.0998, 25.2155)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22428B #8B6B22
analogous
#22778B #22428B #37228B
triadic
#22428B #8B2242 #428B22
tetradic
#22428B #8B2277 #8B6B22 #228B37
square
#22428B #8B2277 #8B6B22 #228B37
split-complementary
#22428B #8B3722 #778B22
monochromatic
#0A1329 #162B5A #22428B #2E59BC #537AD5

Accessibility & contrast

On white

9.46
#22428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#22428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22428B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22428B#FFFFFF#000000##FFFFFF
##22428B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22428b;
/* rgb */ color: rgb(34, 66, 139);
/* oklch */ color: oklch(39.9% 0.128 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d75ad',
    500: '#22428b',
    950: '#000000',
  },
}
SCSS
$custom: #22428b;
$custom-light: #6d75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22428b",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 221.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.12754,
    "h": 263.8
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#22428B
secondary
#B89950
accent
#B344E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22428B

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

Preview Lab → · Contrast checker → · Palette generator →

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