#33289E#33289E

#33289E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.181 H 277.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#33289E
RGBrgb(51, 40, 158)
HSLhsl(246, 60%, 39%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(67.7%, 74.7%, 0%, 38%)
CIE-LABlab(25.83, 41.47, -61.96)
CIE-LCHlch(25.83, 74.56, 303.79°)
OKLaboklab(37.85% 0.0236 -0.179)
OKLCHoklch(37.85% 0.181 277.5)
XYZxyz(8.2936, 4.6893, 32.8092)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33289E #939E28
analogous
#28589E #33289E #6E289E
triadic
#33289E #9E3328 #289E33
tetradic
#33289E #9E2858 #939E28 #289E6E
square
#33289E #9E2858 #939E28 #289E6E
split-complementary
#33289E #9E6E28 #589E28
monochromatic
#130F3C #231C6D #33289E #4537CC #7268D9

Accessibility & contrast

On white

10.84
#33289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#33289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33289E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33289E#FFFFFF#000000##FFFFFF
##33289E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33289e;
/* rgb */ color: rgb(51, 40, 158);
/* oklch */ color: oklch(37.9% 0.181 277.5);
Tailwind
colors: {
  custom: {
    50: '#7a64bc',
    500: '#33289e',
    950: '#000000',
  },
}
SCSS
$custom: #33289e;
$custom-light: #7a64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33289e",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 245.593,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37855,
    "c": 0.18053,
    "h": 277.5
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#33289E
secondary
#B6BF63
accent
#E345D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33289E

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

Preview Lab → · Contrast checker → · Palette generator →

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