#33229E#33229E

#33229E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.186 H 278.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#33229E
RGBrgb(51, 34, 158)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(67.7%, 78.5%, 0%, 38%)
CIE-LABlab(24.69, 44.71, -63.84)
CIE-LCHlch(24.69, 77.94, 305.00°)
OKLaboklab(37.05% 0.0271 -0.1844)
OKLCHoklch(37.05% 0.186 278.4)
XYZxyz(8.1068, 4.3158, 32.7469)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33229E #8D9E22
analogous
#224F9E #33229E #71229E
triadic
#33229E #9E3322 #229E33
tetradic
#33229E #9E224F #8D9E22 #229E71
square
#33229E #9E224F #8D9E22 #229E71
split-complementary
#33229E #9E7122 #4F9E22
monochromatic
#120C39 #23176C #33229E #432DD0 #6F5EDC

Accessibility & contrast

On white

11.27
#33229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33229E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33229E#FFFFFF#000000##FFFFFF
##33229E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33229e;
/* rgb */ color: rgb(51, 34, 158);
/* oklch */ color: oklch(37.1% 0.186 278.4);
Tailwind
colors: {
  custom: {
    50: '#7a60bc',
    500: '#33229e',
    950: '#000000',
  },
}
SCSS
$custom: #33229e;
$custom-light: #7a60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33229e",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 248.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37052,
    "c": 0.1864,
    "h": 278.4
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#33229E
secondary
#B3C15B
accent
#E840D1
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33229E

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

Preview Lab → · Contrast checker → · Palette generator →

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