#33288C#33288C

#33288C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.158 H 279.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#33288C
RGBrgb(51, 40, 140)
HSLhsl(247, 56%, 35%)
HSVhsv(247, 71%, 55%)
CMYKcmyk(63.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(24.05, 35.53, -53.81)
CIE-LCHlch(24.05, 64.48, 303.43°)
OKLaboklab(36.04% 0.0272 -0.1552)
OKLCHoklch(36.04% 0.158 279.9)
XYZxyz(6.8562, 4.1143, 25.2387)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33288C #818C28
analogous
#284F8C #33288C #65288C
triadic
#33288C #8C3328 #288C33
tetradic
#33288C #8C284F #818C28 #288C65
square
#33288C #8C284F #818C28 #288C65
split-complementary
#33288C #8C6528 #4F8C28
monochromatic
#100D2D #221A5C #33288C #4436BC #6A5ED1

Accessibility & contrast

On white

11.52
#33288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33288C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33288C#FFFFFF#000000##FFFFFF
##33288C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #33288c;
/* rgb */ color: rgb(51, 40, 140);
/* oklch */ color: oklch(36.0% 0.158 279.9);
Tailwind
colors: {
  custom: {
    50: '#7663af',
    500: '#33288c',
    950: '#000000',
  },
}
SCSS
$custom: #33288c;
$custom-light: #7663af;
$custom-dark: #000000;
JSON
{
  "hex": "#33288c",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 246.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.15752,
    "h": 279.9
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#33288C
secondary
#ACB65A
accent
#DF49CE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #33288C

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

Preview Lab → · Contrast checker → · Palette generator →

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