#22327F#22327F

#22327F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.131 H 269.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#22327F
RGBrgb(34, 50, 127)
HSLhsl(230, 58%, 32%)
HSVhsv(230, 73%, 50%)
CMYKcmyk(73.2%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.17, 21.75, -45.52)
CIE-LCHlch(24.17, 50.45, 295.54°)
OKLaboklab(35.47% -0.0011 -0.1312)
OKLCHoklch(35.47% 0.131 269.5)
XYZxyz(5.6297, 4.1530, 20.5795)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22327F #7F6F22
analogous
#22617F #22327F #41227F
triadic
#22327F #7F2232 #327F22
tetradic
#22327F #7F2261 #7F6F22 #227F41
square
#22327F #7F2261 #7F6F22 #227F41
split-complementary
#22327F #7F4122 #617F22
monochromatic
#080C1E #151F4F #22327F #2F45AF #4C63CF

Accessibility & contrast

On white

11.47
#22327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22327F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22327F#FFFFFF#000000##FFFFFF
##22327F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22327f;
/* rgb */ color: rgb(34, 50, 127);
/* oklch */ color: oklch(35.5% 0.131 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b69a5',
    500: '#22327f',
    950: '#000000',
  },
}
SCSS
$custom: #22327f;
$custom-light: #6b69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#22327f",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 229.677,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35466,
    "c": 0.13125,
    "h": 269.5
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22327F

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

Preview Lab → · Contrast checker → · Palette generator →

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