#22327D#22327D

#22327D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.128 H 269.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#22327D
RGBrgb(34, 50, 125)
HSLhsl(229, 57%, 31%)
HSVhsv(229, 73%, 49%)
CMYKcmyk(72.8%, 60%, 0%, 51%)
CIE-LABlab(24.00, 20.97, -44.53)
CIE-LCHlch(24.00, 49.22, 295.22°)
OKLaboklab(35.29% -0.0011 -0.1283)
OKLCHoklch(35.29% 0.128 269.5)
XYZxyz(5.5007, 4.1014, 19.8998)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22327D #7D6D22
analogous
#225F7D #22327D #3F227D
triadic
#22327D #7D2232 #327D22
tetradic
#22327D #7D225F #7D6D22 #227D3F
square
#22327D #7D225F #7D6D22 #227D3F
split-complementary
#22327D #7D3F22 #5F7D22
monochromatic
#080C1D #151F4D #22327D #2F45AD #4B62CE

Accessibility & contrast

On white

11.54
#22327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#22327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22327D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22327D#FFFFFF#000000##FFFFFF
##22327D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22327d;
/* rgb */ color: rgb(34, 50, 125);
/* oklch */ color: oklch(35.3% 0.128 269.5);
Tailwind
colors: {
  custom: {
    50: '#6a69a3',
    500: '#22327d',
    950: '#000000',
  },
}
SCSS
$custom: #22327d;
$custom-light: #6a69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22327d",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 229.451,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.12834,
    "h": 269.5
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#22327D
secondary
#B09E4B
accent
#C647E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22327D

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

Preview Lab → · Contrast checker → · Palette generator →

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