#22327A#22327A

#22327A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.124 H 269.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#22327A
RGBrgb(34, 50, 122)
HSLhsl(229, 56%, 31%)
HSVhsv(229, 72%, 48%)
CMYKcmyk(72.1%, 59%, 0%, 52.2%)
CIE-LABlab(23.76, 19.80, -43.03)
CIE-LCHlch(23.76, 47.37, 294.71°)
OKLaboklab(35.03% -0.0012 -0.1239)
OKLCHoklch(35.03% 0.124 269.4)
XYZxyz(5.3119, 4.0259, 18.9057)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22327A #7A6A22
analogous
#225E7A #22327A #3E227A
triadic
#22327A #7A2232 #327A22
tetradic
#22327A #7A225E #7A6A22 #227A3E
square
#22327A #7A225E #7A6A22 #227A3E
split-complementary
#22327A #7A3E22 #5E7A22
monochromatic
#070B1A #151E4A #22327A #2F46AA #4A62CD

Accessibility & contrast

On white

11.63
#22327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22327A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22327A#FFFFFF#000000##FFFFFF
##22327A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22327a;
/* rgb */ color: rgb(34, 50, 122);
/* oklch */ color: oklch(35.0% 0.124 269.4);
Tailwind
colors: {
  custom: {
    50: '#6969a1',
    500: '#22327a',
    950: '#000000',
  },
}
SCSS
$custom: #22327a;
$custom-light: #6969a1;
$custom-dark: #000000;
JSON
{
  "hex": "#22327a",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 229.091,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.12395,
    "h": 269.4
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#22327A
secondary
#AD9B4B
accent
#C448E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22327A

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

Preview Lab → · Contrast checker → · Palette generator →

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