#22329B#22329B

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

Color values

HEX#22329B
RGBrgb(34, 50, 155)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 61%)
CMYKcmyk(78.1%, 67.7%, 0%, 39.2%)
CIE-LABlab(26.70, 32.44, -58.74)
CIE-LCHlch(26.70, 67.11, 298.91°)
OKLaboklab(38.11% -0.002 -0.17)
OKLCHoklch(38.11% 0.17 269.3)
XYZxyz(7.7146, 4.9870, 31.5600)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22329B #9B8B22
analogous
#226F9B #22329B #4F229B
triadic
#22329B #9B2232 #329B22
tetradic
#22329B #9B226F #9B8B22 #229B4F
square
#22329B #9B226F #9B8B22 #229B4F
split-complementary
#22329B #9B4F22 #6F9B22
monochromatic
#0C1237 #172269 #22329B #2D42CD #5C6DDB

Accessibility & contrast

On white

10.51
#22329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22329B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22329B#FFFFFF#000000##FFFFFF
##22329B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22329b;
/* rgb */ color: rgb(34, 50, 155);
/* oklch */ color: oklch(38.1% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#726ab9',
    500: '#22329b',
    950: '#000000',
  },
}
SCSS
$custom: #22329b;
$custom-light: #726ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#22329b",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 232.066,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38108,
    "c": 0.17002,
    "h": 269.3
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#22329B
secondary
#C0B259
accent
#D141E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22329B

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

Preview Lab → · Contrast checker → · Palette generator →

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