#22487E#22487E

#22487E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.101 H 257.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#22487E
RGBrgb(34, 72, 126)
HSLhsl(215, 58%, 31%)
HSVhsv(215, 73%, 49%)
CMYKcmyk(73%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.59, 6.14, -34.54)
CIE-LCHlch(30.59, 35.08, 280.08°)
OKLaboklab(40.34% -0.0218 -0.0986)
OKLCHoklch(40.34% 0.101 257.5)
XYZxyz(6.7416, 6.4805, 20.6302)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22487E #7E5822
analogous
#22767E #22487E #2A227E
triadic
#22487E #7E2248 #487E22
tetradic
#22487E #7E2276 #7E5822 #227E2A
square
#22487E #7E2276 #7E5822 #227E2A
split-complementary
#22487E #7E2A22 #767E22
monochromatic
#08111E #152C4E #22487E #2F64AE #4C82CF

Accessibility & contrast

On white

9.15
#22487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#22487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22487E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22487E#FFFFFF#000000##FFFFFF
##22487E1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22487e;
/* rgb */ color: rgb(34, 72, 126);
/* oklch */ color: oklch(40.3% 0.101 257.5);
Tailwind
colors: {
  custom: {
    50: '#697aa4',
    500: '#22487e',
    950: '#000000',
  },
}
SCSS
$custom: #22487e;
$custom-light: #697aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#22487e",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 215.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.10096,
    "h": 257.5
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#22487E
secondary
#B1874B
accent
#A147E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #22487E

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

Preview Lab → · Contrast checker → · Palette generator →

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