#22397B#22397B

#22397B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.116 H 266.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#22397B
RGBrgb(34, 57, 123)
HSLhsl(224, 57%, 31%)
HSVhsv(224, 72%, 48%)
CMYKcmyk(72.4%, 53.7%, 0%, 51.8%)
CIE-LABlab(25.85, 15.29, -40.27)
CIE-LCHlch(25.85, 43.08, 290.78°)
OKLaboklab(36.63% -0.0075 -0.1157)
OKLCHoklch(36.63% 0.116 266.3)
XYZxyz(5.6967, 4.6958, 19.3412)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22397B #7B6422
analogous
#22657B #22397B #37227B
triadic
#22397B #7B2239 #397B22
tetradic
#22397B #7B2265 #7B6422 #227B37
square
#22397B #7B2265 #7B6422 #227B37
split-complementary
#22397B #7B3722 #657B22
monochromatic
#070D1B #15234B #22397B #2F4FAB #4A6CCD

Accessibility & contrast

On white

10.83
#22397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#22397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22397B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22397B#FFFFFF#000000##FFFFFF
##22397B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22397b;
/* rgb */ color: rgb(34, 57, 123);
/* oklch */ color: oklch(36.6% 0.116 266.3);
Tailwind
colors: {
  custom: {
    50: '#696ea2',
    500: '#22397b',
    950: '#000000',
  },
}
SCSS
$custom: #22397b;
$custom-light: #696ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#22397b",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 224.494,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.11596,
    "h": 266.3
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#22397B
secondary
#AE944B
accent
#B948E0
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22397B

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

Preview Lab → · Contrast checker → · Palette generator →

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