#33228D#33228D

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

Color values

HEX#33228D
RGBrgb(51, 34, 141)
HSLhsl(250, 61%, 34%)
HSVhsv(250, 76%, 55%)
CMYKcmyk(63.8%, 75.9%, 0%, 44.7%)
CIE-LABlab(22.90, 39.33, -56.32)
CIE-LCHlch(22.90, 68.70, 304.93°)
OKLaboklab(35.26% 0.0315 -0.1625)
OKLCHoklch(35.26% 0.165 281)
XYZxyz(6.7435, 3.7704, 25.5665)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33228D #7C8D22
analogous
#22478D #33228D #69228D
triadic
#33228D #8D3322 #228D33
tetradic
#33228D #8D2247 #7C8D22 #228D69
square
#33228D #8D2247 #7C8D22 #228D69
split-complementary
#33228D #8D6922 #478D22
monochromatic
#0F0A2A #21165C #33228D #452EBE #6854D6

Accessibility & contrast

On white

11.97
#33228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33228D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33228D#FFFFFF#000000##FFFFFF
##33228D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33228d;
/* rgb */ color: rgb(51, 34, 141);
/* oklch */ color: oklch(35.3% 0.165 281.0);
Tailwind
colors: {
  custom: {
    50: '#775faf',
    500: '#33228d',
    950: '#000000',
  },
}
SCSS
$custom: #33228d;
$custom-light: #775faf;
$custom-dark: #000000;
JSON
{
  "hex": "#33228d",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 249.533,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.16549,
    "h": 281
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#33228D
secondary
#A9B951
accent
#E444CB
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33228D

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

Preview Lab → · Contrast checker → · Palette generator →

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