#22407E#22407E

#22407E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.111 H 262.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#22407E
RGBrgb(34, 64, 126)
HSLhsl(220, 58%, 31%)
HSVhsv(220, 73%, 49%)
CMYKcmyk(73%, 49.2%, 0%, 50.6%)
CIE-LABlab(28.15, 11.60, -38.45)
CIE-LCHlch(28.15, 40.17, 286.79°)
OKLaboklab(38.45% -0.0138 -0.1102)
OKLCHoklch(38.45% 0.111 262.9)
XYZxyz(6.2576, 5.5126, 20.4689)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22407E #7E6022
analogous
#226E7E #22407E #32227E
triadic
#22407E #7E2240 #407E22
tetradic
#22407E #7E226E #7E6022 #227E32
square
#22407E #7E226E #7E6022 #227E32
split-complementary
#22407E #7E3222 #6E7E22
monochromatic
#080F1E #15284E #22407E #2F58AE #4C76CF

Accessibility & contrast

On white

9.99
#22407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22407E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22407E#FFFFFF#000000##FFFFFF
##22407E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#083E7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22407e;
/* rgb */ color: rgb(34, 64, 126);
/* oklch */ color: oklch(38.5% 0.111 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a74a4',
    500: '#22407e',
    950: '#000000',
  },
}
SCSS
$custom: #22407e;
$custom-light: #6a74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22407e",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 220.435,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.11111,
    "h": 262.9
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#22407E
secondary
#B1904B
accent
#AF47E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22407E

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

Preview Lab → · Contrast checker → · Palette generator →

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