#22328C#22328C

#22328C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.150 H 269.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#22328C
RGBrgb(34, 50, 140)
HSLhsl(231, 61%, 34%)
HSVhsv(231, 76%, 55%)
CMYKcmyk(75.7%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.30, 26.78, -51.80)
CIE-LCHlch(25.30, 58.31, 297.34°)
OKLaboklab(36.66% -0.0012 -0.1497)
OKLCHoklch(36.66% 0.15 269.5)
XYZxyz(6.5323, 4.5140, 25.3329)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22328C #8C7C22
analogous
#22678C #22328C #47228C
triadic
#22328C #8C2232 #328C22
tetradic
#22328C #8C2267 #8C7C22 #228C47
square
#22328C #8C2267 #8C7C22 #228C47
split-complementary
#22328C #8C4722 #678C22
monochromatic
#0A0F2A #16205B #22328C #2E44BD #5367D5

Accessibility & contrast

On white

11.04
#22328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22328C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22328C#FFFFFF#000000##FFFFFF
##22328C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22328c;
/* rgb */ color: rgb(34, 50, 140);
/* oklch */ color: oklch(36.7% 0.150 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#22328c',
    950: '#000000',
  },
}
SCSS
$custom: #22328c;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22328c",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 230.943,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36657,
    "c": 0.14968,
    "h": 269.5
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#22328C
secondary
#B9A951
accent
#CC44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22328C

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

Preview Lab → · Contrast checker → · Palette generator →

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