#33239A#33239A

#33239A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.181 H 278.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#33239A
RGBrgb(51, 35, 154)
HSLhsl(248, 63%, 37%)
HSVhsv(248, 77%, 60%)
CMYKcmyk(66.9%, 77.3%, 0%, 39.6%)
CIE-LABlab(24.44, 42.93, -61.80)
CIE-LCHlch(24.44, 75.25, 304.78°)
OKLaboklab(36.75% 0.0276 -0.1785)
OKLCHoklch(36.75% 0.181 278.8)
XYZxyz(7.7971, 4.2383, 30.9728)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33239A #8A9A23
analogous
#234F9A #33239A #6F239A
triadic
#33239A #9A3323 #239A33
tetradic
#33239A #9A234F #8A9A23 #239A6F
square
#33239A #9A234F #8A9A23 #239A6F
split-complementary
#33239A #9A6F23 #4F9A23
monochromatic
#120C36 #221868 #33239A #442ECC #6E5DDA

Accessibility & contrast

On white

11.36
#33239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#33239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33239A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33239A#FFFFFF#000000##FFFFFF
##33239A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33239a;
/* rgb */ color: rgb(51, 35, 154);
/* oklch */ color: oklch(36.8% 0.181 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a61b9',
    500: '#33239a',
    950: '#000000',
  },
}
SCSS
$custom: #33239a;
$custom-light: #7a61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#33239a",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 248.067,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.18059,
    "h": 278.8
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#33239A
secondary
#B1BF5A
accent
#E642D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #33239A

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

Preview Lab → · Contrast checker → · Palette generator →

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