#22477D#22477D

#22477D is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.101 H 258.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#22477D
RGBrgb(34, 71, 125)
HSLhsl(216, 57%, 31%)
HSVhsv(216, 73%, 49%)
CMYKcmyk(72.8%, 43.2%, 0%, 51%)
CIE-LABlab(30.22, 6.42, -34.51)
CIE-LCHlch(30.22, 35.10, 280.54°)
OKLaboklab(40.03% -0.021 -0.0985)
OKLCHoklch(40.03% 0.101 258)
XYZxyz(6.6133, 6.3265, 20.2707)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22477D #7D5822
analogous
#22747D #22477D #2A227D
triadic
#22477D #7D2247 #477D22
tetradic
#22477D #7D2274 #7D5822 #227D2A
square
#22477D #7D2274 #7D5822 #227D2A
split-complementary
#22477D #7D2A22 #747D22
monochromatic
#08101D #152C4D #22477D #2F62AD #4B80CE

Accessibility & contrast

On white

9.27
#22477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#22477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22477D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22477D#FFFFFF#000000##FFFFFF
##22477D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#1F437C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22477d;
/* rgb */ color: rgb(34, 71, 125);
/* oklch */ color: oklch(40.0% 0.101 258.0);
Tailwind
colors: {
  custom: {
    50: '#6979a3',
    500: '#22477d',
    950: '#000000',
  },
}
SCSS
$custom: #22477d;
$custom-light: #6979a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22477d",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 215.604,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.10073,
    "h": 258
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#22477D
secondary
#B0874B
accent
#A247E0
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #22477D

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

Preview Lab → · Contrast checker → · Palette generator →

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