#33228B#33228B

#33228B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.163 H 281.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#33228B
RGBrgb(51, 34, 139)
HSLhsl(250, 61%, 34%)
HSVhsv(250, 76%, 55%)
CMYKcmyk(63.3%, 75.5%, 0%, 45.5%)
CIE-LABlab(22.69, 38.69, -55.41)
CIE-LCHlch(22.69, 67.58, 304.92°)
OKLaboklab(35.05% 0.0319 -0.1598)
OKLCHoklch(35.05% 0.163 281.3)
XYZxyz(6.5960, 3.7115, 24.7899)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33228B #7A8B22
analogous
#22468B #33228B #68228B
triadic
#33228B #8B3322 #228B33
tetradic
#33228B #8B2246 #7A8B22 #228B68
square
#33228B #8B2246 #7A8B22 #228B68
split-complementary
#33228B #8B6822 #468B22
monochromatic
#0F0A29 #21165A #33228B #452EBC #6853D5

Accessibility & contrast

On white

12.05
#33228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33228B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33228B#FFFFFF#000000##FFFFFF
##33228B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33228b;
/* rgb */ color: rgb(51, 34, 139);
/* oklch */ color: oklch(35.1% 0.163 281.3);
Tailwind
colors: {
  custom: {
    50: '#765fae',
    500: '#33228b',
    950: '#000000',
  },
}
SCSS
$custom: #33228b;
$custom-light: #765fae;
$custom-dark: #000000;
JSON
{
  "hex": "#33228b",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 249.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35051,
    "c": 0.16297,
    "h": 281.3
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#33228B
secondary
#A8B850
accent
#E444CA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33228B

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

Preview Lab → · Contrast checker → · Palette generator →

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