#33229D#33229D

#33229D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.185 H 278.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#33229D
RGBrgb(51, 34, 157)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(67.5%, 78.3%, 0%, 38.4%)
CIE-LABlab(24.58, 44.40, -63.41)
CIE-LCHlch(24.58, 77.41, 305.00°)
OKLaboklab(36.94% 0.0274 -0.1832)
OKLCHoklch(36.94% 0.185 278.5)
XYZxyz(8.0211, 4.2815, 32.2955)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33229D #8C9D22
analogous
#224E9D #33229D #71229D
triadic
#33229D #9D3322 #229D33
tetradic
#33229D #9D224E #8C9D22 #229D71
square
#33229D #9D224E #8C9D22 #229D71
split-complementary
#33229D #9D7122 #4E9D22
monochromatic
#120C38 #23176B #33229D #432DCF #6F5DDC

Accessibility & contrast

On white

11.31
#33229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#33229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33229D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33229D#FFFFFF#000000##FFFFFF
##33229D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33229d;
/* rgb */ color: rgb(51, 34, 157);
/* oklch */ color: oklch(36.9% 0.185 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a60bb',
    500: '#33229d',
    950: '#000000',
  },
}
SCSS
$custom: #33229d;
$custom-light: #7a60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33229d",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 248.293,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36944,
    "c": 0.1852,
    "h": 278.5
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#33229D
secondary
#B2C15A
accent
#E740D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33229D

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

Preview Lab → · Contrast checker → · Palette generator →

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