#22396D#22396D

#22396D is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.095 H 264.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#22396D
RGBrgb(34, 57, 109)
HSLhsl(222, 52%, 28%)
HSVhsv(222, 69%, 43%)
CMYKcmyk(68.8%, 47.7%, 0%, 57.3%)
CIE-LABlab(24.86, 9.75, -32.96)
CIE-LCHlch(24.86, 34.38, 286.47°)
OKLaboklab(35.56% -0.0096 -0.0942)
OKLCHoklch(35.56% 0.095 264.2)
XYZxyz(4.8822, 4.3700, 15.0512)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22396D #6D5622
analogous
#225E6D #22396D #30226D
triadic
#22396D #6D2239 #396D22
tetradic
#22396D #6D225E #6D5622 #226D30
square
#22396D #6D225E #6D5622 #226D30
split-complementary
#22396D #6D3022 #5E6D22
monochromatic
#070C17 #13213E #22396D #31519C #456CC5

Accessibility & contrast

On white

11.21
#22396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22396D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22396D#FFFFFF#000000##FFFFFF
##22396D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#12386C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22396d;
/* rgb */ color: rgb(34, 57, 109);
/* oklch */ color: oklch(35.6% 0.095 264.2);
Tailwind
colors: {
  custom: {
    50: '#666f97',
    500: '#22396d',
    950: '#000000',
  },
}
SCSS
$custom: #22396d;
$custom-light: #666f97;
$custom-dark: #000000;
JSON
{
  "hex": "#22396d",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 221.6,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.0947,
    "h": 264.2
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#22396D
secondary
#A1864A
accent
#B04CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22396D

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

Preview Lab → · Contrast checker → · Palette generator →

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