#33288D#33288D

#33288D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.159 H 279.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#33288D
RGBrgb(51, 40, 141)
HSLhsl(247, 56%, 35%)
HSVhsv(247, 72%, 55%)
CMYKcmyk(63.8%, 71.6%, 0%, 44.7%)
CIE-LABlab(24.14, 35.86, -54.28)
CIE-LCHlch(24.14, 65.05, 303.45°)
OKLaboklab(36.14% 0.027 -0.1565)
OKLCHoklch(36.14% 0.159 279.8)
XYZxyz(6.9302, 4.1440, 25.6288)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33288D #828D28
analogous
#284F8D #33288D #66288D
triadic
#33288D #8D3328 #288D33
tetradic
#33288D #8D284F #828D28 #288D66
square
#33288D #8D284F #828D28 #288D66
split-complementary
#33288D #8D6628 #4F8D28
monochromatic
#110D2E #221A5D #33288D #4436BD #6B5ED1

Accessibility & contrast

On white

11.48
#33288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#33288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33288D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33288D#FFFFFF#000000##FFFFFF
##33288D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33288d;
/* rgb */ color: rgb(51, 40, 141);
/* oklch */ color: oklch(36.1% 0.159 279.8);
Tailwind
colors: {
  custom: {
    50: '#7663af',
    500: '#33288d',
    950: '#000000',
  },
}
SCSS
$custom: #33288d;
$custom-light: #7663af;
$custom-dark: #000000;
JSON
{
  "hex": "#33288d",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 246.535,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.15883,
    "h": 279.8
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#33288D
secondary
#ADB75A
accent
#DF49CF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #33288D

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

Preview Lab → · Contrast checker → · Palette generator →

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