#22406F#22406F

#22406F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.089 H 259.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#22406F
RGBrgb(34, 64, 111)
HSLhsl(217, 53%, 28%)
HSVhsv(217, 69%, 44%)
CMYKcmyk(69.4%, 42.3%, 0%, 56.5%)
CIE-LABlab(27.17, 5.68, -30.55)
CIE-LCHlch(27.17, 31.08, 280.53°)
OKLaboklab(37.38% -0.0168 -0.087)
OKLCHoklch(37.38% 0.089 259.1)
XYZxyz(5.3613, 5.1540, 15.7481)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22406F #6F5122
analogous
#22666F #22406F #2A226F
triadic
#22406F #6F2240 #406F22
tetradic
#22406F #6F2266 #6F5122 #226F2A
square
#22406F #6F2266 #6F5122 #226F2A
split-complementary
#22406F #6F2A22 #666F22
monochromatic
#070E17 #142540 #22406F #305B9E #4577C6

Accessibility & contrast

On white

10.34
#22406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#22406F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22406F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22406F#FFFFFF#000000##FFFFFF
##22406F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4471
Deuteranopia (green-blind)
#1F3D6E
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22406f;
/* rgb */ color: rgb(34, 64, 111);
/* oklch */ color: oklch(37.4% 0.089 259.1);
Tailwind
colors: {
  custom: {
    50: '#667498',
    500: '#22406f',
    950: '#000000',
  },
}
SCSS
$custom: #22406f;
$custom-light: #667498;
$custom-dark: #000000;
JSON
{
  "hex": "#22406f",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 216.623,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.08864,
    "h": 259.1
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#22406F
secondary
#A2804A
accent
#A44BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #22406F

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

Preview Lab → · Contrast checker → · Palette generator →

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