#33219F#33219F

#33219F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.189 H 278.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#33219F
RGBrgb(51, 33, 159)
HSLhsl(249, 66%, 38%)
HSVhsv(249, 79%, 62%)
CMYKcmyk(67.9%, 79.2%, 0%, 37.6%)
CIE-LABlab(24.62, 45.53, -64.57)
CIE-LCHlch(24.62, 79.01, 305.19°)
OKLaboklab(37.04% 0.0274 -0.1865)
OKLCHoklch(37.04% 0.189 278.4)
XYZxyz(8.1651, 4.2940, 33.1927)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33219F #8D9F21
analogous
#214E9F #33219F #72219F
triadic
#33219F #9F3321 #219F33
tetradic
#33219F #9F214E #8D9F21 #219F72
square
#33219F #9F214E #8D9F21 #219F72
split-complementary
#33219F #9F7221 #4E9F21
monochromatic
#120C3A #23166C #33219F #432CD2 #6F5DDD

Accessibility & contrast

On white

11.30
#33219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#33219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33219F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33219F#FFFFFF#000000##FFFFFF
##33219F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33219f;
/* rgb */ color: rgb(51, 33, 159);
/* oklch */ color: oklch(37.0% 0.189 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b60bd',
    500: '#33219f',
    950: '#000000',
  },
}
SCSS
$custom: #33219f;
$custom-light: #7b60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#33219f",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 248.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.18851,
    "h": 278.4
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#33219F
secondary
#B3C25A
accent
#E93FD0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33219F

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

Preview Lab → · Contrast checker → · Palette generator →

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