#33287A#33287A

#33287A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.133 H 282.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#33287A
RGBrgb(51, 40, 122)
HSLhsl(248, 51%, 32%)
HSVhsv(248, 67%, 48%)
CMYKcmyk(58.2%, 67.2%, 0%, 52.2%)
CIE-LABlab(22.40, 29.48, -45.19)
CIE-LCHlch(22.40, 53.96, 303.12°)
OKLaboklab(34.35% 0.0298 -0.1299)
OKLCHoklch(34.35% 0.133 282.9)
XYZxyz(5.6358, 3.6262, 18.8115)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33287A #6F7A28
analogous
#28467A #33287A #5C287A
triadic
#33287A #7A3328 #287A33
tetradic
#33287A #7A2846 #6F7A28 #287A5C
square
#33287A #7A2846 #6F7A28 #287A5C
split-complementary
#33287A #7A5C28 #467A28
monochromatic
#0C0A1E #20194C #33287A #4637A8 #6455C7

Accessibility & contrast

On white

12.17
#33287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#33287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33287A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33287A#FFFFFF#000000##FFFFFF
##33287A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#103C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33287a;
/* rgb */ color: rgb(51, 40, 122);
/* oklch */ color: oklch(34.3% 0.133 282.9);
Tailwind
colors: {
  custom: {
    50: '#7363a1',
    500: '#33287a',
    950: '#000000',
  },
}
SCSS
$custom: #33287a;
$custom-light: #7363a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33287a",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 248.049,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.13327,
    "h": 282.9
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#33287A
secondary
#A0AC52
accent
#DA4EC7
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33287A

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

Preview Lab → · Contrast checker → · Palette generator →

#33287A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva