#33218E#33218E

#33218E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.168 H 281.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#33218E
RGBrgb(51, 33, 142)
HSLhsl(250, 62%, 34%)
HSVhsv(250, 77%, 56%)
CMYKcmyk(64.1%, 76.8%, 0%, 44.3%)
CIE-LABlab(22.81, 40.20, -57.09)
CIE-LCHlch(22.81, 69.83, 305.15°)
OKLaboklab(35.22% 0.0319 -0.1647)
OKLCHoklch(35.22% 0.168 281)
XYZxyz(6.7900, 3.7440, 25.9508)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33218E #7C8E21
analogous
#21468E #33218E #6A218E
triadic
#33218E #8E3321 #218E33
tetradic
#33218E #8E2146 #7C8E21 #218E6A
square
#33218E #8E2146 #7C8E21 #218E6A
split-complementary
#33218E #8E6A21 #468E21
monochromatic
#0F0A2B #21155C #33218E #452DC0 #6852D7

Accessibility & contrast

On white

12.01
#33218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#33218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33218E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33218E#FFFFFF#000000##FFFFFF
##33218E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33218e;
/* rgb */ color: rgb(51, 33, 142);
/* oklch */ color: oklch(35.2% 0.168 281.0);
Tailwind
colors: {
  custom: {
    50: '#775fb0',
    500: '#33218e',
    950: '#000000',
  },
}
SCSS
$custom: #33218e;
$custom-light: #775fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33218e",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 249.908,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35224,
    "c": 0.16778,
    "h": 281
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#33218E
secondary
#A9BA50
accent
#E542CA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33218E

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

Preview Lab → · Contrast checker → · Palette generator →

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