#33239C#33239C

#33239C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.183 H 278.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#33239C
RGBrgb(51, 35, 156)
HSLhsl(248, 63%, 37%)
HSVhsv(248, 78%, 61%)
CMYKcmyk(67.3%, 77.6%, 0%, 38.8%)
CIE-LABlab(24.66, 43.56, -62.68)
CIE-LCHlch(24.66, 76.33, 304.80°)
OKLaboklab(36.96% 0.0271 -0.181)
OKLCHoklch(36.96% 0.183 278.5)
XYZxyz(7.9651, 4.3055, 31.8573)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33239C #8C9C23
analogous
#234F9C #33239C #70239C
triadic
#33239C #9C3323 #239C33
tetradic
#33239C #9C234F #8C9C23 #239C70
square
#33239C #9C234F #8C9C23 #239C70
split-complementary
#33239C #9C7023 #4F9C23
monochromatic
#120D38 #23186A #33239C #432ECE #6F5EDB

Accessibility & contrast

On white

11.28
#33239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#33239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33239C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33239C#FFFFFF#000000##FFFFFF
##33239C1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33239c;
/* rgb */ color: rgb(51, 35, 156);
/* oklch */ color: oklch(37.0% 0.183 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a61ba',
    500: '#33239c',
    950: '#000000',
  },
}
SCSS
$custom: #33239c;
$custom-light: #7a61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33239c",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 247.934,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.18304,
    "h": 278.5
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#33239C
secondary
#B2C05B
accent
#E641D1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33239C

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

Preview Lab → · Contrast checker → · Palette generator →

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