#22406A#22406A

#22406A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.081 H 257.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#22406A
RGBrgb(34, 64, 106)
HSLhsl(215, 51%, 27%)
HSVhsv(215, 68%, 42%)
CMYKcmyk(67.9%, 39.6%, 0%, 58.4%)
CIE-LABlab(26.87, 3.73, -27.84)
CIE-LCHlch(26.87, 28.09, 277.64°)
OKLaboklab(37.05% -0.0181 -0.0791)
OKLCHoklch(37.05% 0.081 257.1)
XYZxyz(5.0937, 5.0470, 14.3386)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22406A #6A4C22
analogous
#22646A #22406A #28226A
triadic
#22406A #6A2240 #406A22
tetradic
#22406A #6A2264 #6A4C22 #226A28
square
#22406A #6A2264 #6A4C22 #226A28
split-complementary
#22406A #6A2822 #646A22
monochromatic
#070E17 #13243C #22406A #315C98 #4479C3

Accessibility & contrast

On white

10.45
#22406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#22406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22406A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22406A#FFFFFF#000000##FFFFFF
##22406A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E436C
Deuteranopia (green-blind)
#233C69
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22406a;
/* rgb */ color: rgb(34, 64, 106);
/* oklch */ color: oklch(37.0% 0.081 257.1);
Tailwind
colors: {
  custom: {
    50: '#657495',
    500: '#22406a',
    950: '#000000',
  },
}
SCSS
$custom: #22406a;
$custom-light: #657495;
$custom-dark: #000000;
JSON
{
  "hex": "#22406a",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 215,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.08113,
    "h": 257.1
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#22406A
secondary
#9E7B4A
accent
#A04DDB
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #22406A

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

Preview Lab → · Contrast checker → · Palette generator →

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