#33229B#33229B

#33229B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.183 H 278.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#33229B
RGBrgb(51, 34, 155)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 61%)
CMYKcmyk(67.1%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.37, 43.77, -62.54)
CIE-LCHlch(24.37, 76.34, 304.99°)
OKLaboklab(36.73% 0.0279 -0.1806)
OKLCHoklch(36.73% 0.183 278.8)
XYZxyz(7.8518, 4.2138, 31.4036)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33229B #8A9B22
analogous
#224D9B #33229B #70229B
triadic
#33229B #9B3322 #229B33
tetradic
#33229B #9B224D #8A9B22 #229B70
square
#33229B #9B224D #8A9B22 #229B70
split-complementary
#33229B #9B7022 #4D9B22
monochromatic
#120C37 #221769 #33229B #442DCD #6E5CDB

Accessibility & contrast

On white

11.40
#33229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33229B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33229B#FFFFFF#000000##FFFFFF
##33229B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33229b;
/* rgb */ color: rgb(51, 34, 155);
/* oklch */ color: oklch(36.7% 0.183 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a60ba',
    500: '#33229b',
    950: '#000000',
  },
}
SCSS
$custom: #33229b;
$custom-light: #7a60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33229b",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 248.43,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36729,
    "c": 0.18278,
    "h": 278.8
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#33229B
secondary
#B1C059
accent
#E741D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #33229B

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

Preview Lab → · Contrast checker → · Palette generator →

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