#33239D#33239D

#33239D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.184 H 278.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#33239D
RGBrgb(51, 35, 157)
HSLhsl(248, 64%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(67.5%, 77.7%, 0%, 38.4%)
CIE-LABlab(24.76, 43.87, -63.11)
CIE-LCHlch(24.76, 76.86, 304.81°)
OKLaboklab(37.07% 0.0268 -0.1823)
OKLCHoklch(37.07% 0.184 278.4)
XYZxyz(8.0501, 4.3395, 32.3051)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33239D #8D9D23
analogous
#23509D #33239D #70239D
triadic
#33239D #9D3323 #239D33
tetradic
#33239D #9D2350 #8D9D23 #239D70
square
#33239D #9D2350 #8D9D23 #239D70
split-complementary
#33239D #9D7023 #509D23
monochromatic
#120D39 #23186B #33239D #432ECF #6F5FDB

Accessibility & contrast

On white

11.24
#33239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33239D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33239D#FFFFFF#000000##FFFFFF
##33239D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33239d;
/* rgb */ color: rgb(51, 35, 157);
/* oklch */ color: oklch(37.1% 0.184 278.4);
Tailwind
colors: {
  custom: {
    50: '#7a61bb',
    500: '#33239d',
    950: '#000000',
  },
}
SCSS
$custom: #33239d;
$custom-light: #7a61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33239d",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 247.869,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37072,
    "c": 0.18425,
    "h": 278.4
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#33239D
secondary
#B3C05C
accent
#E741D1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #33239D

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

Preview Lab → · Contrast checker → · Palette generator →

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