#22328B#22328B

#22328B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.148 H 269.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#22328B
RGBrgb(34, 50, 139)
HSLhsl(231, 61%, 34%)
HSVhsv(231, 76%, 55%)
CMYKcmyk(75.5%, 64%, 0%, 45.5%)
CIE-LABlab(25.21, 26.39, -51.32)
CIE-LCHlch(25.21, 57.71, 297.22°)
OKLaboklab(36.56% -0.0012 -0.1483)
OKLCHoklch(36.56% 0.148 269.6)
XYZxyz(6.4589, 4.4847, 24.9463)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22328B #8B7B22
analogous
#22678B #22328B #47228B
triadic
#22328B #8B2232 #328B22
tetradic
#22328B #8B2267 #8B7B22 #228B47
square
#22328B #8B2267 #8B7B22 #228B47
split-complementary
#22328B #8B4722 #678B22
monochromatic
#0A0F29 #16205A #22328B #2E44BC #5366D5

Accessibility & contrast

On white

11.07
#22328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#22328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22328B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22328B#FFFFFF#000000##FFFFFF
##22328B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22328b;
/* rgb */ color: rgb(34, 50, 139);
/* oklch */ color: oklch(36.6% 0.148 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#22328b',
    950: '#000000',
  },
}
SCSS
$custom: #22328b;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22328b",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 230.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36563,
    "c": 0.14829,
    "h": 269.6
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#22328B
secondary
#B8A950
accent
#CB44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22328B

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

Preview Lab → · Contrast checker → · Palette generator →

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