#33328E#33328E

#33328E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.148 H 277.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#33328E
RGBrgb(51, 50, 142)
HSLhsl(241, 48%, 38%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(64.1%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.56, 29.94, -50.95)
CIE-LCHlch(26.56, 59.09, 300.45°)
OKLaboklab(37.92% 0.0185 -0.1467)
OKLCHoklch(37.92% 0.148 277.2)
XYZxyz(7.3867, 4.9374, 26.1497)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33328E #8D8E32
analogous
#325F8E #33328E #61328E
triadic
#33328E #8E3332 #328E33
tetradic
#33328E #8E325F #8D8E32 #328E61
square
#33328E #8E325F #8D8E32 #328E61
split-complementary
#33328E #8E6132 #5F8E32
monochromatic
#121233 #232261 #33328E #4342BB #6F6ECC

Accessibility & contrast

On white

10.57
#33328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#33328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33328E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33328E#FFFFFF#000000##FFFFFF
##33328E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33328e;
/* rgb */ color: rgb(51, 50, 142);
/* oklch */ color: oklch(37.9% 0.148 277.2);
Tailwind
colors: {
  custom: {
    50: '#766ab0',
    500: '#33328e',
    950: '#000000',
  },
}
SCSS
$custom: #33328e;
$custom-light: #766ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#33328e",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 240.652,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37917,
    "c": 0.1479,
    "h": 277.2
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#33328E
secondary
#B3B468
accent
#D850D6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33328E

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

Preview Lab → · Contrast checker → · Palette generator →

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