#33229C#33229C

#33229C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.184 H 278.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#33229C
RGBrgb(51, 34, 156)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 61%)
CMYKcmyk(67.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.47, 44.08, -62.98)
CIE-LCHlch(24.47, 76.87, 304.99°)
OKLaboklab(36.84% 0.0277 -0.1819)
OKLCHoklch(36.84% 0.184 278.6)
XYZxyz(7.9361, 4.2475, 31.8477)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33229C #8B9C22
analogous
#224E9C #33229C #70229C
triadic
#33229C #9C3322 #229C33
tetradic
#33229C #9C224E #8B9C22 #229C70
square
#33229C #9C224E #8B9C22 #229C70
split-complementary
#33229C #9C7022 #4E9C22
monochromatic
#120C38 #23176A #33229C #432DCE #6E5DDC

Accessibility & contrast

On white

11.35
#33229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#33229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33229C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33229C#FFFFFF#000000##FFFFFF
##33229C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33229c;
/* rgb */ color: rgb(51, 34, 156);
/* oklch */ color: oklch(36.8% 0.184 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a60ba',
    500: '#33229c',
    950: '#000000',
  },
}
SCSS
$custom: #33229c;
$custom-light: #7a60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33229c",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 248.361,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.18398,
    "h": 278.6
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#33229C
secondary
#B2C05A
accent
#E741D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33229C

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

Preview Lab → · Contrast checker → · Palette generator →

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