#22329C#22329C

#22329C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.171 H 269.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#22329C
RGBrgb(34, 50, 156)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 61%)
CMYKcmyk(78.2%, 67.9%, 0%, 38.8%)
CIE-LABlab(26.79, 32.82, -59.20)
CIE-LCHlch(26.79, 67.68, 299.00°)
OKLaboklab(38.21% -0.0021 -0.1713)
OKLCHoklch(38.21% 0.171 269.3)
XYZxyz(7.7990, 5.0207, 32.0041)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22329C #9C8C22
analogous
#226F9C #22329C #4F229C
triadic
#22329C #9C2232 #329C22
tetradic
#22329C #9C226F #9C8C22 #229C4F
square
#22329C #9C226F #9C8C22 #229C4F
split-complementary
#22329C #9C4F22 #6F9C22
monochromatic
#0C1238 #17226A #22329C #2D42CE #5D6DDC

Accessibility & contrast

On white

10.48
#22329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#22329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22329C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22329C#FFFFFF#000000##FFFFFF
##22329C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22329c;
/* rgb */ color: rgb(34, 50, 156);
/* oklch */ color: oklch(38.2% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#726aba',
    500: '#22329c',
    950: '#000000',
  },
}
SCSS
$custom: #22329c;
$custom-light: #726aba;
$custom-dark: #000000;
JSON
{
  "hex": "#22329c",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 232.131,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.17134,
    "h": 269.3
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#22329C
secondary
#C0B35A
accent
#D141E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22329C

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

Preview Lab → · Contrast checker → · Palette generator →

#22329C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva