#33239E#33239E

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

Color values

HEX#33239E
RGBrgb(51, 35, 158)
HSLhsl(248, 64%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(67.7%, 77.8%, 0%, 38%)
CIE-LABlab(24.87, 44.19, -63.55)
CIE-LCHlch(24.87, 77.40, 304.81°)
OKLaboklab(37.18% 0.0266 -0.1835)
OKLCHoklch(37.18% 0.185 278.2)
XYZxyz(8.1358, 4.3738, 32.7566)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33239E #8E9E23
analogous
#23509E #33239E #70239E
triadic
#33239E #9E3323 #239E33
tetradic
#33239E #9E2350 #8E9E23 #239E70
square
#33239E #9E2350 #8E9E23 #239E70
split-complementary
#33239E #9E7023 #509E23
monochromatic
#130D3A #23186C #33239E #432ED0 #7060DC

Accessibility & contrast

On white

11.20
#33239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#33239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33239E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33239E#FFFFFF#000000##FFFFFF
##33239E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33239e;
/* rgb */ color: rgb(51, 35, 158);
/* oklch */ color: oklch(37.2% 0.185 278.2);
Tailwind
colors: {
  custom: {
    50: '#7a61bc',
    500: '#33239e',
    950: '#000000',
  },
}
SCSS
$custom: #33239e;
$custom-light: #7a61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33239e",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 247.805,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37179,
    "c": 0.18546,
    "h": 278.2
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#33239E
secondary
#B4C15C
accent
#E741D1
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33239E

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

Preview Lab → · Contrast checker → · Palette generator →

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