#22328E#22328E

#22328E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.152 H 269.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#22328E
RGBrgb(34, 50, 142)
HSLhsl(231, 61%, 35%)
HSVhsv(231, 76%, 56%)
CMYKcmyk(76.1%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.48, 27.54, -52.74)
CIE-LCHlch(25.48, 59.50, 297.57°)
OKLaboklab(36.85% -0.0013 -0.1524)
OKLCHoklch(36.85% 0.152 269.5)
XYZxyz(6.6811, 4.5736, 26.1166)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22328E #8E7E22
analogous
#22688E #22328E #48228E
triadic
#22328E #8E2232 #328E22
tetradic
#22328E #8E2268 #8E7E22 #228E48
square
#22328E #8E2268 #8E7E22 #228E48
split-complementary
#22328E #8E4822 #688E22
monochromatic
#0A0F2B #16215D #22328E #2E43BF #5468D6

Accessibility & contrast

On white

10.97
#22328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#22328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22328E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22328E#FFFFFF#000000##FFFFFF
##22328E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22328e;
/* rgb */ color: rgb(34, 50, 142);
/* oklch */ color: oklch(36.8% 0.152 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e69b0',
    500: '#22328e',
    950: '#000000',
  },
}
SCSS
$custom: #22328e;
$custom-light: #6e69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22328e",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 231.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.15246,
    "h": 269.5
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#22328E
secondary
#BAAB52
accent
#CD43E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #22328E

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

Preview Lab → · Contrast checker → · Palette generator →

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