#22406B#22406B

#22406B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.1% C 0.083 H 257.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#22406B
RGBrgb(34, 64, 107)
HSLhsl(215, 52%, 28%)
HSVhsv(215, 68%, 42%)
CMYKcmyk(68.2%, 40.2%, 0%, 58%)
CIE-LABlab(26.93, 4.12, -28.39)
CIE-LCHlch(26.93, 28.69, 278.26°)
OKLaboklab(37.11% -0.0178 -0.0807)
OKLCHoklch(37.11% 0.083 257.5)
XYZxyz(5.1460, 5.0679, 14.6141)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22406B #6B4D22
analogous
#22656B #22406B #28226B
triadic
#22406B #6B2240 #406B22
tetradic
#22406B #6B2265 #6B4D22 #226B28
square
#22406B #6B2265 #6B4D22 #226B28
split-complementary
#22406B #6B2822 #656B22
monochromatic
#070E17 #13243D #22406B #315C99 #4478C4

Accessibility & contrast

On white

10.43
#22406B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22406B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22406B#FFFFFF#000000##FFFFFF
##22406B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436D
Deuteranopia (green-blind)
#233D6A
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22406b;
/* rgb */ color: rgb(34, 64, 107);
/* oklch */ color: oklch(37.1% 0.083 257.5);
Tailwind
colors: {
  custom: {
    50: '#657495',
    500: '#22406b',
    950: '#000000',
  },
}
SCSS
$custom: #22406b;
$custom-light: #657495;
$custom-dark: #000000;
JSON
{
  "hex": "#22406b",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 215.342,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37113,
    "c": 0.08263,
    "h": 257.5
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#22406B
secondary
#9F7C4A
accent
#A14DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #22406B

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

Preview Lab → · Contrast checker → · Palette generator →

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