#33219E#33219E

#33219E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.187 H 278.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#33219E
RGBrgb(51, 33, 158)
HSLhsl(249, 65%, 37%)
HSVhsv(249, 79%, 62%)
CMYKcmyk(67.7%, 79.1%, 0%, 38%)
CIE-LABlab(24.51, 45.22, -64.14)
CIE-LCHlch(24.51, 78.48, 305.19°)
OKLaboklab(36.93% 0.0277 -0.1853)
OKLCHoklch(36.93% 0.187 278.5)
XYZxyz(8.0787, 4.2595, 32.7375)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33219E #8C9E21
analogous
#214E9E #33219E #72219E
triadic
#33219E #9E3321 #219E33
tetradic
#33219E #9E214E #8C9E21 #219E72
square
#33219E #9E214E #8C9E21 #219E72
split-complementary
#33219E #9E7221 #4E9E21
monochromatic
#120C39 #23166B #33219E #432CD1 #6F5CDD

Accessibility & contrast

On white

11.34
#33219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#33219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33219E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33219E#FFFFFF#000000##FFFFFF
##33219E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33219e;
/* rgb */ color: rgb(51, 33, 158);
/* oklch */ color: oklch(36.9% 0.187 278.5);
Tailwind
colors: {
  custom: {
    50: '#7b60bc',
    500: '#33219e',
    950: '#000000',
  },
}
SCSS
$custom: #33219e;
$custom-light: #7b60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33219e",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 248.64,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.18731,
    "h": 278.5
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#33219E
secondary
#B2C159
accent
#E83FD0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33219E

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

Preview Lab → · Contrast checker → · Palette generator →

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