#33286F#33286F

#33286F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.118 H 285.1°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#33286F
RGBrgb(51, 40, 111)
HSLhsl(249, 47%, 30%)
HSVhsv(249, 64%, 44%)
CMYKcmyk(54.1%, 64%, 0%, 56.5%)
CIE-LABlab(21.46, 25.77, -39.66)
CIE-LCHlch(21.46, 47.30, 303.01°)
OKLaboklab(33.38% 0.0308 -0.1136)
OKLCHoklch(33.38% 0.118 285.1)
XYZxyz(4.9924, 3.3688, 15.4230)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33286F #646F28
analogous
#28416F #33286F #57286F
triadic
#33286F #6F3328 #286F33
tetradic
#33286F #6F2841 #646F28 #286F57
square
#33286F #6F2841 #646F28 #286F57
split-complementary
#33286F #6F5728 #416F28
monochromatic
#0A0816 #1E1842 #33286F #48389C #6251C0

Accessibility & contrast

On white

12.55
#33286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#33286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33286F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33286F#FFFFFF#000000##FFFFFF
##33286F1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#1C3947
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #33286f;
/* rgb */ color: rgb(51, 40, 111);
/* oklch */ color: oklch(33.4% 0.118 285.1);
Tailwind
colors: {
  custom: {
    50: '#716299',
    500: '#33286f',
    950: '#000000',
  },
}
SCSS
$custom: #33286f;
$custom-light: #716299;
$custom-dark: #000000;
JSON
{
  "hex": "#33286f",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 249.296,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.11772,
    "h": 285.1
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#33286F
secondary
#95A151
accent
#D751C2
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #33286F

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

Preview Lab → · Contrast checker → · Palette generator →

#33286F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva