#33228C#33228C

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

Color values

HEX#33228C
RGBrgb(51, 34, 140)
HSLhsl(250, 61%, 34%)
HSVhsv(250, 76%, 55%)
CMYKcmyk(63.6%, 75.7%, 0%, 45.1%)
CIE-LABlab(22.80, 39.01, -55.87)
CIE-LCHlch(22.80, 68.14, 304.92°)
OKLaboklab(35.15% 0.0317 -0.1611)
OKLCHoklch(35.15% 0.164 281.1)
XYZxyz(6.6694, 3.7408, 25.1765)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33228C #7B8C22
analogous
#22468C #33228C #68228C
triadic
#33228C #8C3322 #228C33
tetradic
#33228C #8C2246 #7B8C22 #228C68
square
#33228C #8C2246 #7B8C22 #228C68
split-complementary
#33228C #8C6822 #468C22
monochromatic
#0F0A2A #21165B #33228C #452EBD #6853D5

Accessibility & contrast

On white

12.01
#33228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#33228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33228C
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33228C#FFFFFF#000000##FFFFFF
##33228C1.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)
#003A8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33228c;
/* rgb */ color: rgb(51, 34, 140);
/* oklch */ color: oklch(35.2% 0.164 281.1);
Tailwind
colors: {
  custom: {
    50: '#775faf',
    500: '#33228c',
    950: '#000000',
  },
}
SCSS
$custom: #33228c;
$custom-light: #775faf;
$custom-dark: #000000;
JSON
{
  "hex": "#33228c",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 249.623,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.16424,
    "h": 281.1
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#33228C
secondary
#A8B951
accent
#E444CA
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33228C

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

Preview Lab → · Contrast checker → · Palette generator →

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