#22407D#22407D

#22407D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.110 H 262.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#22407D
RGBrgb(34, 64, 125)
HSLhsl(220, 57%, 31%)
HSVhsv(220, 73%, 49%)
CMYKcmyk(72.8%, 48.8%, 0%, 51%)
CIE-LABlab(28.08, 11.21, -37.94)
CIE-LCHlch(28.08, 39.56, 286.46°)
OKLaboklab(38.38% -0.014 -0.1087)
OKLCHoklch(38.38% 0.11 262.7)
XYZxyz(6.1934, 5.4869, 20.1307)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22407D #7D5F22
analogous
#226D7D #22407D #31227D
triadic
#22407D #7D2240 #407D22
tetradic
#22407D #7D226D #7D5F22 #227D31
square
#22407D #7D226D #7D5F22 #227D31
split-complementary
#22407D #7D3122 #6D7D22
monochromatic
#080F1D #15274D #22407D #2F59AD #4B76CE

Accessibility & contrast

On white

10.01
#22407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#22407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22407D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22407D#FFFFFF#000000##FFFFFF
##22407D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#0B3E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22407d;
/* rgb */ color: rgb(34, 64, 125);
/* oklch */ color: oklch(38.4% 0.110 262.7);
Tailwind
colors: {
  custom: {
    50: '#6974a3',
    500: '#22407d',
    950: '#000000',
  },
}
SCSS
$custom: #22407d;
$custom-light: #6974a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22407d",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 220.22,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.10963,
    "h": 262.7
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#22407D
secondary
#B08F4B
accent
#AE47E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22407D

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

Preview Lab → · Contrast checker → · Palette generator →

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