#33287E#33287E

#33287E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.139 H 282.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#33287E
RGBrgb(51, 40, 126)
HSLhsl(248, 52%, 33%)
HSVhsv(248, 68%, 49%)
CMYKcmyk(59.5%, 68.3%, 0%, 50.6%)
CIE-LABlab(22.75, 30.83, -47.15)
CIE-LCHlch(22.75, 56.34, 303.18°)
OKLaboklab(34.71% 0.0293 -0.1356)
OKLCHoklch(34.71% 0.139 282.2)
XYZxyz(5.8888, 3.7274, 20.1438)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33287E #737E28
analogous
#28487E #33287E #5E287E
triadic
#33287E #7E3328 #287E33
tetradic
#33287E #7E2848 #737E28 #287E5E
square
#33287E #7E2848 #737E28 #287E5E
split-complementary
#33287E #7E5E28 #487E28
monochromatic
#0D0B21 #201950 #33287E #4637AC #6557CA

Accessibility & contrast

On white

12.03
#33287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#33287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33287E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33287E#FFFFFF#000000##FFFFFF
##33287E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#093E4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33287e;
/* rgb */ color: rgb(51, 40, 126);
/* oklch */ color: oklch(34.7% 0.139 282.2);
Tailwind
colors: {
  custom: {
    50: '#7363a4',
    500: '#33287e',
    950: '#000000',
  },
}
SCSS
$custom: #33287e;
$custom-light: #7363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33287e",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 247.674,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34711,
    "c": 0.13877,
    "h": 282.2
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33287E

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

Preview Lab → · Contrast checker → · Palette generator →

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