#22386D#22386D

#22386D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.096 H 264.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#22386D
RGBrgb(34, 56, 109)
HSLhsl(222, 52%, 28%)
HSVhsv(222, 69%, 43%)
CMYKcmyk(68.8%, 48.6%, 0%, 57.3%)
CIE-LABlab(24.55, 10.45, -33.46)
CIE-LCHlch(24.55, 35.05, 287.35°)
OKLaboklab(35.32% -0.0085 -0.0957)
OKLCHoklch(35.32% 0.096 264.9)
XYZxyz(4.8332, 4.2721, 15.0349)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22386D #6D5722
analogous
#225D6D #22386D #31226D
triadic
#22386D #6D2238 #386D22
tetradic
#22386D #6D225D #6D5722 #226D31
square
#22386D #6D225D #6D5722 #226D31
split-complementary
#22386D #6D3122 #5D6D22
monochromatic
#070C17 #13203E #22386D #31509C #456AC5

Accessibility & contrast

On white

11.32
#22386D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#22386D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22386D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22386D#FFFFFF#000000##FFFFFF
##22386D1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#10376C
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22386d;
/* rgb */ color: rgb(34, 56, 109);
/* oklch */ color: oklch(35.3% 0.096 264.9);
Tailwind
colors: {
  custom: {
    50: '#666e97',
    500: '#22386d',
    950: '#000000',
  },
}
SCSS
$custom: #22386d;
$custom-light: #666e97;
$custom-dark: #000000;
JSON
{
  "hex": "#22386d",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 222.4,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.09606,
    "h": 264.9
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#22386D
secondary
#A1874A
accent
#B24CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22386D

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

Preview Lab → · Contrast checker → · Palette generator →

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