#22397C#22397C

#22397C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.117 H 266.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#22397C
RGBrgb(34, 57, 124)
HSLhsl(225, 57%, 31%)
HSVhsv(225, 73%, 49%)
CMYKcmyk(72.6%, 54%, 0%, 51.4%)
CIE-LABlab(25.92, 15.68, -40.78)
CIE-LCHlch(25.92, 43.69, 291.03°)
OKLaboklab(36.71% -0.0074 -0.1172)
OKLCHoklch(36.71% 0.117 266.4)
XYZxyz(5.7596, 4.7210, 19.6726)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22397C #7C6522
analogous
#22667C #22397C #38227C
triadic
#22397C #7C2239 #397C22
tetradic
#22397C #7C2266 #7C6522 #227C38
square
#22397C #7C2266 #7C6522 #227C38
split-complementary
#22397C #7C3822 #667C22
monochromatic
#080D1C #15234C #22397C #2F4FAC #4B6CCE

Accessibility & contrast

On white

10.80
#22397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22397C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22397C#FFFFFF#000000##FFFFFF
##22397C1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22397c;
/* rgb */ color: rgb(34, 57, 124);
/* oklch */ color: oklch(36.7% 0.117 266.4);
Tailwind
colors: {
  custom: {
    50: '#696ea2',
    500: '#22397c',
    950: '#000000',
  },
}
SCSS
$custom: #22397c;
$custom-light: #696ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#22397c",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 224.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36709,
    "c": 0.11746,
    "h": 266.4
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#22397C
secondary
#AF954B
accent
#B948E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22397C

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

Preview Lab → · Contrast checker → · Palette generator →

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