#33219C#33219C

#33219C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.185 H 278.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#33219C
RGBrgb(51, 33, 156)
HSLhsl(249, 65%, 37%)
HSVhsv(249, 79%, 61%)
CMYKcmyk(67.3%, 78.8%, 0%, 38.8%)
CIE-LABlab(24.29, 44.60, -63.28)
CIE-LCHlch(24.29, 77.41, 305.18°)
OKLaboklab(36.71% 0.0282 -0.1827)
OKLCHoklch(36.71% 0.185 278.8)
XYZxyz(7.9079, 4.1912, 31.8383)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33219C #8A9C21
analogous
#214D9C #33219C #70219C
triadic
#33219C #9C3321 #219C33
tetradic
#33219C #9C214D #8A9C21 #219C70
square
#33219C #9C214D #8A9C21 #219C70
split-complementary
#33219C #9C7021 #4D9C21
monochromatic
#120C37 #221669 #33219C #442CCF #6E5BDC

Accessibility & contrast

On white

11.42
#33219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#33219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33219C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33219C#FFFFFF#000000##FFFFFF
##33219C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33219c;
/* rgb */ color: rgb(51, 33, 156);
/* oklch */ color: oklch(36.7% 0.185 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a60ba',
    500: '#33219c',
    950: '#000000',
  },
}
SCSS
$custom: #33219c;
$custom-light: #7a60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33219c",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 248.78,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36711,
    "c": 0.18491,
    "h": 278.8
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#33219C
secondary
#B1C158
accent
#E840CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33219C

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

Preview Lab → · Contrast checker → · Palette generator →

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