#33289C#33289C

#33289C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.178 H 277.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#33289C
RGBrgb(51, 40, 156)
HSLhsl(246, 59%, 38%)
HSVhsv(246, 74%, 61%)
CMYKcmyk(67.3%, 74.4%, 0%, 38.8%)
CIE-LABlab(25.63, 40.81, -61.08)
CIE-LCHlch(25.63, 73.46, 303.75°)
OKLaboklab(37.65% 0.0241 -0.1764)
OKLCHoklch(37.65% 0.178 277.8)
XYZxyz(8.1228, 4.6210, 31.9099)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33289C #919C28
analogous
#28579C #33289C #6D289C
triadic
#33289C #9C3328 #289C33
tetradic
#33289C #9C2857 #919C28 #289C6D
square
#33289C #9C2857 #919C28 #289C6D
split-complementary
#33289C #9C6D28 #579C28
monochromatic
#130F3B #231C6B #33289C #4436CB #7167D8

Accessibility & contrast

On white

10.91
#33289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#33289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33289C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33289C#FFFFFF#000000##FFFFFF
##33289C1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33289c;
/* rgb */ color: rgb(51, 40, 156);
/* oklch */ color: oklch(37.6% 0.178 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a64ba',
    500: '#33289c',
    950: '#000000',
  },
}
SCSS
$custom: #33289c;
$custom-light: #7a64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33289c",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 245.69,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37649,
    "c": 0.17803,
    "h": 277.8
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#33289C
secondary
#B5BE62
accent
#E245D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33289C

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

Preview Lab → · Contrast checker → · Palette generator →

#33289C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva