#33218F#33218F

#33218F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.169 H 280.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#33218F
RGBrgb(51, 33, 143)
HSLhsl(250, 63%, 35%)
HSVhsv(250, 77%, 56%)
CMYKcmyk(64.3%, 76.9%, 0%, 43.9%)
CIE-LABlab(22.91, 40.51, -57.54)
CIE-LCHlch(22.91, 70.38, 305.15°)
OKLaboklab(35.33% 0.0317 -0.166)
OKLCHoklch(35.33% 0.169 280.8)
XYZxyz(6.8655, 3.7742, 26.3480)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33218F #7D8F21
analogous
#21468F #33218F #6A218F
triadic
#33218F #8F3321 #218F33
tetradic
#33218F #8F2146 #7D8F21 #218F6A
square
#33218F #8F2146 #7D8F21 #218F6A
split-complementary
#33218F #8F6A21 #468F21
monochromatic
#100A2C #21165D #33218F #452CC1 #6953D7

Accessibility & contrast

On white

11.97
#33218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#33218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33218F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33218F#FFFFFF#000000##FFFFFF
##33218F1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33218f;
/* rgb */ color: rgb(51, 33, 143);
/* oklch */ color: oklch(35.3% 0.169 280.8);
Tailwind
colors: {
  custom: {
    50: '#775fb1',
    500: '#33218f',
    950: '#000000',
  },
}
SCSS
$custom: #33218f;
$custom-light: #775fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#33218f",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 249.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35328,
    "c": 0.16903,
    "h": 280.8
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#33218F
secondary
#AABB51
accent
#E642CB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33218F

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

Preview Lab → · Contrast checker → · Palette generator →

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