#33287D#33287D

#33287D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.137 H 282.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#33287D
RGBrgb(51, 40, 125)
HSLhsl(248, 52%, 32%)
HSVhsv(248, 68%, 49%)
CMYKcmyk(59.2%, 68%, 0%, 51%)
CIE-LABlab(22.66, 30.49, -46.67)
CIE-LCHlch(22.66, 55.74, 303.16°)
OKLaboklab(34.62% 0.0295 -0.1342)
OKLCHoklch(34.62% 0.137 282.4)
XYZxyz(5.8246, 3.7017, 19.8056)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33287D #727D28
analogous
#28477D #33287D #5E287D
triadic
#33287D #7D3328 #287D33
tetradic
#33287D #7D2847 #727D28 #287D5E
square
#33287D #7D2847 #727D28 #287D5E
split-complementary
#33287D #7D5E28 #477D28
monochromatic
#0D0A20 #20194F #33287D #4637AB #6556C9

Accessibility & contrast

On white

12.07
#33287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33287D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33287D#FFFFFF#000000##FFFFFF
##33287D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#0B3E4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33287d;
/* rgb */ color: rgb(51, 40, 125);
/* oklch */ color: oklch(34.6% 0.137 282.4);
Tailwind
colors: {
  custom: {
    50: '#7363a3',
    500: '#33287d',
    950: '#000000',
  },
}
SCSS
$custom: #33287d;
$custom-light: #7363a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33287d",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 247.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.1374,
    "h": 282.4
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#33287D
secondary
#A2AE53
accent
#DB4DC9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33287D

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

Preview Lab → · Contrast checker → · Palette generator →

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