#22477E#22477E

#22477E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.102 H 258.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#22477E
RGBrgb(34, 71, 126)
HSLhsl(216, 58%, 31%)
HSVhsv(216, 73%, 49%)
CMYKcmyk(73%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.28, 6.81, -35.03)
CIE-LCHlch(30.28, 35.69, 281.01°)
OKLaboklab(40.1% -0.0207 -0.1001)
OKLCHoklch(40.1% 0.102 258.3)
XYZxyz(6.6775, 6.3522, 20.6088)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22477E #7E5922
analogous
#22757E #22477E #2B227E
triadic
#22477E #7E2247 #477E22
tetradic
#22477E #7E2275 #7E5922 #227E2B
square
#22477E #7E2275 #7E5922 #227E2B
split-complementary
#22477E #7E2B22 #757E22
monochromatic
#08111E #152C4E #22477E #2F62AE #4C80CF

Accessibility & contrast

On white

9.25
#22477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22477E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22477E#FFFFFF#000000##FFFFFF
##22477E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22477e;
/* rgb */ color: rgb(34, 71, 126);
/* oklch */ color: oklch(40.1% 0.102 258.3);
Tailwind
colors: {
  custom: {
    50: '#6979a4',
    500: '#22477e',
    950: '#000000',
  },
}
SCSS
$custom: #22477e;
$custom-light: #6979a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22477e",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 215.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40096,
    "c": 0.10219,
    "h": 258.3
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#22477E
secondary
#B1884B
accent
#A347E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #22477E

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

Preview Lab → · Contrast checker → · Palette generator →

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