#22397D#22397D

#22397D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.119 H 266.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#22397D
RGBrgb(34, 57, 125)
HSLhsl(225, 57%, 31%)
HSVhsv(225, 73%, 49%)
CMYKcmyk(72.8%, 54.4%, 0%, 51%)
CIE-LABlab(26.00, 16.08, -41.29)
CIE-LCHlch(26.00, 44.31, 291.28°)
OKLaboklab(36.79% -0.0073 -0.1187)
OKLCHoklch(36.79% 0.119 266.5)
XYZxyz(5.8232, 4.7464, 20.0073)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22397D #7D6622
analogous
#22667D #22397D #38227D
triadic
#22397D #7D2239 #397D22
tetradic
#22397D #7D2266 #7D6622 #227D38
square
#22397D #7D2266 #7D6622 #227D38
split-complementary
#22397D #7D3822 #667D22
monochromatic
#080D1D #15234D #22397D #2F4FAD #4B6CCE

Accessibility & contrast

On white

10.77
#22397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#22397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22397D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22397D#FFFFFF#000000##FFFFFF
##22397D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B427F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22397d;
/* rgb */ color: rgb(34, 57, 125);
/* oklch */ color: oklch(36.8% 0.119 266.5);
Tailwind
colors: {
  custom: {
    50: '#6a6ea3',
    500: '#22397d',
    950: '#000000',
  },
}
SCSS
$custom: #22397d;
$custom-light: #6a6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#22397d",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 224.835,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.11894,
    "h": 266.5
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#22397D
secondary
#B0964B
accent
#BA47E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22397D

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

Preview Lab → · Contrast checker → · Palette generator →

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