#22327E#22327E

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

Color values

HEX#22327E
RGBrgb(34, 50, 126)
HSLhsl(230, 58%, 31%)
HSVhsv(230, 73%, 49%)
CMYKcmyk(73%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.09, 21.36, -45.02)
CIE-LCHlch(24.09, 49.83, 295.38°)
OKLaboklab(35.38% -0.0011 -0.1298)
OKLCHoklch(35.38% 0.13 269.5)
XYZxyz(5.5649, 4.1271, 20.2379)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22327E #7E6E22
analogous
#22607E #22327E #40227E
triadic
#22327E #7E2232 #327E22
tetradic
#22327E #7E2260 #7E6E22 #227E40
square
#22327E #7E2260 #7E6E22 #227E40
split-complementary
#22327E #7E4022 #607E22
monochromatic
#080C1E #151F4E #22327E #2F45AE #4C63CF

Accessibility & contrast

On white

11.50
#22327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#22327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22327E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22327E#FFFFFF#000000##FFFFFF
##22327E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22327e;
/* rgb */ color: rgb(34, 50, 126);
/* oklch */ color: oklch(35.4% 0.130 269.5);
Tailwind
colors: {
  custom: {
    50: '#6a69a4',
    500: '#22327e',
    950: '#000000',
  },
}
SCSS
$custom: #22327e;
$custom-light: #6a69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22327e",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 229.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35378,
    "c": 0.1298,
    "h": 269.5
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#22327E
secondary
#B19F4B
accent
#C647E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22327E

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

Preview Lab → · Contrast checker → · Palette generator →

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