#22427E#22427E

#22427E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.108 H 261.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#22427E
RGBrgb(34, 66, 126)
HSLhsl(219, 58%, 31%)
HSVhsv(219, 73%, 49%)
CMYKcmyk(73%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.75, 10.22, -37.48)
CIE-LCHlch(28.75, 38.85, 285.26°)
OKLaboklab(38.91% -0.0158 -0.1073)
OKLCHoklch(38.91% 0.109 261.6)
XYZxyz(6.3725, 5.7422, 20.5071)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22427E #7E5E22
analogous
#22707E #22427E #30227E
triadic
#22427E #7E2242 #427E22
tetradic
#22427E #7E2270 #7E5E22 #227E30
square
#22427E #7E2270 #7E5E22 #227E30
split-complementary
#22427E #7E3022 #707E22
monochromatic
#08101E #15294E #22427E #2F5BAE #4C79CF

Accessibility & contrast

On white

9.77
#22427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#22427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22427E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22427E#FFFFFF#000000##FFFFFF
##22427E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#10407D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #22427e;
/* rgb */ color: rgb(34, 66, 126);
/* oklch */ color: oklch(38.9% 0.108 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75a4',
    500: '#22427e',
    950: '#000000',
  },
}
SCSS
$custom: #22427e;
$custom-light: #6a75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22427e",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 219.13,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38914,
    "c": 0.1085,
    "h": 261.6
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#22427E
secondary
#B18D4B
accent
#AB47E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22427E

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

Preview Lab → · Contrast checker → · Palette generator →

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