#33229A#33229A

#33229A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.182 H 278.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#33229A
RGBrgb(51, 34, 154)
HSLhsl(249, 64%, 37%)
HSVhsv(249, 78%, 60%)
CMYKcmyk(66.9%, 77.9%, 0%, 39.6%)
CIE-LABlab(24.26, 43.46, -62.11)
CIE-LCHlch(24.26, 75.80, 304.98°)
OKLaboklab(36.62% 0.0282 -0.1794)
OKLCHoklch(36.62% 0.182 278.9)
XYZxyz(7.7681, 4.1803, 30.9631)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33229A #899A22
analogous
#224D9A #33229A #6F229A
triadic
#33229A #9A3322 #229A33
tetradic
#33229A #9A224D #899A22 #229A6F
square
#33229A #9A224D #899A22 #229A6F
split-complementary
#33229A #9A6F22 #4D9A22
monochromatic
#120C36 #221768 #33229A #442DCC #6E5BDB

Accessibility & contrast

On white

11.44
#33229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#33229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33229A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33229A#FFFFFF#000000##FFFFFF
##33229A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33229a;
/* rgb */ color: rgb(51, 34, 154);
/* oklch */ color: oklch(36.6% 0.182 278.9);
Tailwind
colors: {
  custom: {
    50: '#7a60b9',
    500: '#33229a',
    950: '#000000',
  },
}
SCSS
$custom: #33229a;
$custom-light: #7a60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#33229a",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 248.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36622,
    "c": 0.18156,
    "h": 278.9
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#33229A
secondary
#B1BF58
accent
#E741CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #33229A

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

Preview Lab → · Contrast checker → · Palette generator →

#33229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva