#22477F#22477F

#22477F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.104 H 258.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#22477F
RGBrgb(34, 71, 127)
HSLhsl(216, 58%, 32%)
HSVhsv(216, 73%, 50%)
CMYKcmyk(73.2%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.35, 7.21, -35.55)
CIE-LCHlch(30.35, 36.28, 281.46°)
OKLaboklab(40.17% -0.0205 -0.1016)
OKLCHoklch(40.17% 0.104 258.6)
XYZxyz(6.7423, 6.3781, 20.9503)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22477F #7F5A22
analogous
#22767F #22477F #2C227F
triadic
#22477F #7F2247 #477F22
tetradic
#22477F #7F2276 #7F5A22 #227F2C
square
#22477F #7F2276 #7F5A22 #227F2C
split-complementary
#22477F #7F2C22 #767F22
monochromatic
#08111E #152C4F #22477F #2F62AF #4C80CF

Accessibility & contrast

On white

9.23
#22477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#22477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22477F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22477F#FFFFFF#000000##FFFFFF
##22477F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22477f;
/* rgb */ color: rgb(34, 71, 127);
/* oklch */ color: oklch(40.2% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#6a79a4',
    500: '#22477f',
    950: '#000000',
  },
}
SCSS
$custom: #22477f;
$custom-light: #6a79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22477f",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 216.129,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40165,
    "c": 0.10364,
    "h": 258.6
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#22477F
secondary
#B2894B
accent
#A447E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #22477F

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

Preview Lab → · Contrast checker → · Palette generator →

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