#33289A#33289A

#33289A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.176 H 278.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#33289A
RGBrgb(51, 40, 154)
HSLhsl(246, 59%, 38%)
HSVhsv(246, 74%, 60%)
CMYKcmyk(66.9%, 74%, 0%, 39.6%)
CIE-LABlab(25.42, 40.16, -60.19)
CIE-LCHlch(25.42, 72.36, 303.71°)
OKLaboklab(37.44% 0.0245 -0.1738)
OKLCHoklch(37.44% 0.176 278)
XYZxyz(7.9549, 4.5538, 31.0253)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33289A #8F9A28
analogous
#28569A #33289A #6C289A
triadic
#33289A #9A3328 #289A33
tetradic
#33289A #9A2856 #8F9A28 #289A6C
square
#33289A #9A2856 #8F9A28 #289A6C
split-complementary
#33289A #9A6C28 #569A28
monochromatic
#130F39 #231B69 #33289A #4335CA #7065D7

Accessibility & contrast

On white

10.99
#33289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#33289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33289A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33289A#FFFFFF#000000##FFFFFF
##33289A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33289a;
/* rgb */ color: rgb(51, 40, 154);
/* oklch */ color: oklch(37.4% 0.176 278.0);
Tailwind
colors: {
  custom: {
    50: '#7964b9',
    500: '#33289a',
    950: '#000000',
  },
}
SCSS
$custom: #33289a;
$custom-light: #7964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#33289a",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 245.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.17552,
    "h": 278
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#33289A
secondary
#B4BD61
accent
#E246D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33289A

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

Preview Lab → · Contrast checker → · Palette generator →

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