#22407B#22407B

#22407B is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.107 H 262.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#22407B
RGBrgb(34, 64, 123)
HSLhsl(220, 57%, 31%)
HSVhsv(220, 72%, 48%)
CMYKcmyk(72.4%, 48%, 0%, 51.8%)
CIE-LABlab(27.94, 10.41, -36.90)
CIE-LCHlch(27.94, 38.34, 285.76°)
OKLaboklab(38.23% -0.0143 -0.1057)
OKLCHoklch(38.23% 0.107 262.3)
XYZxyz(6.0670, 5.4363, 19.4646)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22407B #7B5D22
analogous
#226C7B #22407B #30227B
triadic
#22407B #7B2240 #407B22
tetradic
#22407B #7B226C #7B5D22 #227B30
square
#22407B #7B226C #7B5D22 #227B30
split-complementary
#22407B #7B3022 #6C7B22
monochromatic
#070E1B #15274B #22407B #2F59AB #4A76CD

Accessibility & contrast

On white

10.06
#22407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#22407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22407B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22407B#FFFFFF#000000##FFFFFF
##22407B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22407b;
/* rgb */ color: rgb(34, 64, 123);
/* oklch */ color: oklch(38.2% 0.107 262.3);
Tailwind
colors: {
  custom: {
    50: '#6974a1',
    500: '#22407b',
    950: '#000000',
  },
}
SCSS
$custom: #22407b;
$custom-light: #6974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#22407b",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 219.775,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.10665,
    "h": 262.3
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#22407B
secondary
#AE8C4B
accent
#AD48E0
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22407B

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

Preview Lab → · Contrast checker → · Palette generator →

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