#22428A#22428A

#22428A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.126 H 263.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#22428A
RGBrgb(34, 66, 138)
HSLhsl(222, 60%, 34%)
HSVhsv(222, 75%, 54%)
CMYKcmyk(75.4%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.59, 14.99, -43.59)
CIE-LCHlch(29.59, 46.10, 288.98°)
OKLaboklab(39.82% -0.0139 -0.1253)
OKLCHoklch(39.82% 0.126 263.6)
XYZxyz(7.1937, 6.0707, 24.8325)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22428A #8A6A22
analogous
#22768A #22428A #36228A
triadic
#22428A #8A2242 #428A22
tetradic
#22428A #8A2276 #8A6A22 #228A36
square
#22428A #8A2276 #8A6A22 #228A36
split-complementary
#22428A #8A3622 #768A22
monochromatic
#0A1328 #162B59 #22428A #2E59BB #527AD4

Accessibility & contrast

On white

9.48
#22428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#22428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22428A
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22428A#FFFFFF#000000##FFFFFF
##22428A1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22428a;
/* rgb */ color: rgb(34, 66, 138);
/* oklch */ color: oklch(39.8% 0.126 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c75ad',
    500: '#22428a',
    950: '#000000',
  },
}
SCSS
$custom: #22428a;
$custom-light: #6c75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22428a",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 221.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.12609,
    "h": 263.6
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#22428A
secondary
#B89850
accent
#B344E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #22428A

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

Preview Lab → · Contrast checker → · Palette generator →

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