#33288B#33288B

#33288B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.156 H 280.1°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#33288B
RGBrgb(51, 40, 139)
HSLhsl(247, 55%, 35%)
HSVhsv(247, 71%, 55%)
CMYKcmyk(63.3%, 71.2%, 0%, 45.5%)
CIE-LABlab(23.95, 35.19, -53.35)
CIE-LCHlch(23.95, 63.91, 303.41°)
OKLaboklab(35.95% 0.0273 -0.1538)
OKLCHoklch(35.95% 0.156 280.1)
XYZxyz(6.7828, 4.0850, 24.8521)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33288B #808B28
analogous
#284E8B #33288B #65288B
triadic
#33288B #8B3328 #288B33
tetradic
#33288B #8B284E #808B28 #288B65
square
#33288B #8B284E #808B28 #288B65
split-complementary
#33288B #8B6528 #4E8B28
monochromatic
#100D2C #221A5B #33288B #4436BB #6A5DD0

Accessibility & contrast

On white

11.56
#33288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#33288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33288B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33288B#FFFFFF#000000##FFFFFF
##33288B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #33288b;
/* rgb */ color: rgb(51, 40, 139);
/* oklch */ color: oklch(35.9% 0.156 280.1);
Tailwind
colors: {
  custom: {
    50: '#7663ae',
    500: '#33288b',
    950: '#000000',
  },
}
SCSS
$custom: #33288b;
$custom-light: #7663ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33288b",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 246.667,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35946,
    "c": 0.15621,
    "h": 280.1
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#33288B
secondary
#ABB659
accent
#DF49CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #33288B

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

Preview Lab → · Contrast checker → · Palette generator →

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