#22487F#22487F

#22487F is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.102 H 257.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#22487F
RGBrgb(34, 72, 127)
HSLhsl(215, 58%, 32%)
HSVhsv(215, 73%, 50%)
CMYKcmyk(73.2%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.66, 6.53, -35.06)
CIE-LCHlch(30.66, 35.66, 280.55°)
OKLaboklab(40.4% -0.0215 -0.1001)
OKLCHoklch(40.4% 0.102 257.9)
XYZxyz(6.8064, 6.5064, 20.9717)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22487F #7F5922
analogous
#22777F #22487F #2B227F
triadic
#22487F #7F2248 #487F22
tetradic
#22487F #7F2277 #7F5922 #227F2B
square
#22487F #7F2277 #7F5922 #227F2B
split-complementary
#22487F #7F2B22 #777F22
monochromatic
#08111E #152D4F #22487F #2F63AF #4C82CF

Accessibility & contrast

On white

9.12
#22487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22487F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22487F#FFFFFF#000000##FFFFFF
##22487F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#1E447E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22487f;
/* rgb */ color: rgb(34, 72, 127);
/* oklch */ color: oklch(40.4% 0.102 257.9);
Tailwind
colors: {
  custom: {
    50: '#6a7aa4',
    500: '#22487f',
    950: '#000000',
  },
}
SCSS
$custom: #22487f;
$custom-light: #6a7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#22487f",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 215.484,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40404,
    "c": 0.10242,
    "h": 257.9
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#22487F
secondary
#B2884B
accent
#A247E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #22487F

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

Preview Lab → · Contrast checker → · Palette generator →

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