#33239B#33239B

#33239B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.182 H 278.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#33239B
RGBrgb(51, 35, 155)
HSLhsl(248, 63%, 37%)
HSVhsv(248, 77%, 61%)
CMYKcmyk(67.1%, 77.4%, 0%, 39.2%)
CIE-LABlab(24.55, 43.24, -62.24)
CIE-LCHlch(24.55, 75.79, 304.79°)
OKLaboklab(36.86% 0.0273 -0.1797)
OKLCHoklch(36.86% 0.182 278.6)
XYZxyz(7.8808, 4.2718, 31.4132)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33239B #8B9B23
analogous
#234F9B #33239B #6F239B
triadic
#33239B #9B3323 #239B33
tetradic
#33239B #9B234F #8B9B23 #239B6F
square
#33239B #9B234F #8B9B23 #239B6F
split-complementary
#33239B #9B6F23 #4F9B23
monochromatic
#120C37 #231869 #33239B #432ECD #6E5EDB

Accessibility & contrast

On white

11.32
#33239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33239B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33239B#FFFFFF#000000##FFFFFF
##33239B1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33239b;
/* rgb */ color: rgb(51, 35, 155);
/* oklch */ color: oklch(36.9% 0.182 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a61ba',
    500: '#33239b',
    950: '#000000',
  },
}
SCSS
$custom: #33239b;
$custom-light: #7a61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33239b",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 248,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36859,
    "c": 0.18182,
    "h": 278.6
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33239B

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

Preview Lab → · Contrast checker → · Palette generator →

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