#33229F#33229F

#33229F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.188 H 278.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#33229F
RGBrgb(51, 34, 159)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 79%, 62%)
CMYKcmyk(67.9%, 78.6%, 0%, 37.6%)
CIE-LABlab(24.80, 45.02, -64.28)
CIE-LCHlch(24.80, 78.48, 305.01°)
OKLaboklab(37.16% 0.0269 -0.1857)
OKLCHoklch(37.16% 0.188 278.2)
XYZxyz(8.1933, 4.3504, 33.2021)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33229F #8E9F22
analogous
#224F9F #33229F #71229F
triadic
#33229F #9F3322 #229F33
tetradic
#33229F #9F224F #8E9F22 #229F71
square
#33229F #9F224F #8E9F22 #229F71
split-complementary
#33229F #9F7122 #4F9F22
monochromatic
#130C3A #23176D #33229F #432DD1 #705FDD

Accessibility & contrast

On white

11.23
#33229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#33229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33229F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33229F#FFFFFF#000000##FFFFFF
##33229F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33229f;
/* rgb */ color: rgb(51, 34, 159);
/* oklch */ color: oklch(37.2% 0.188 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b60bd',
    500: '#33229f',
    950: '#000000',
  },
}
SCSS
$custom: #33229f;
$custom-light: #7b60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#33229f",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 248.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.1876,
    "h": 278.2
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33229F

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

Preview Lab → · Contrast checker → · Palette generator →

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