#22397A#22397A

#22397A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.114 H 266.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#22397A
RGBrgb(34, 57, 122)
HSLhsl(224, 56%, 31%)
HSVhsv(224, 72%, 48%)
CMYKcmyk(72.1%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.78, 14.89, -39.76)
CIE-LCHlch(25.78, 42.46, 290.53°)
OKLaboklab(36.55% -0.0076 -0.1142)
OKLCHoklch(36.55% 0.114 266.2)
XYZxyz(5.6344, 4.6709, 19.0132)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22397A #7A6322
analogous
#22657A #22397A #37227A
triadic
#22397A #7A2239 #397A22
tetradic
#22397A #7A2265 #7A6322 #227A37
square
#22397A #7A2265 #7A6322 #227A37
split-complementary
#22397A #7A3722 #657A22
monochromatic
#070C1A #15234A #22397A #2F4FAA #4A6CCD

Accessibility & contrast

On white

10.86
#22397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#22397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22397A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22397A#FFFFFF#000000##FFFFFF
##22397A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22397a;
/* rgb */ color: rgb(34, 57, 122);
/* oklch */ color: oklch(36.5% 0.114 266.2);
Tailwind
colors: {
  custom: {
    50: '#696ea1',
    500: '#22397a',
    950: '#000000',
  },
}
SCSS
$custom: #22397a;
$custom-light: #696ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#22397a",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 224.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.11447,
    "h": 266.2
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#22397A
secondary
#AD934B
accent
#B848E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #22397A

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

Preview Lab → · Contrast checker → · Palette generator →

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