#33328B#33328B

#33328B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.144 H 277.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#33328B
RGBrgb(51, 50, 139)
HSLhsl(241, 47%, 37%)
HSVhsv(241, 64%, 55%)
CMYKcmyk(63.3%, 64%, 0%, 45.5%)
CIE-LABlab(26.30, 28.89, -49.51)
CIE-LCHlch(26.30, 57.32, 300.27°)
OKLaboklab(37.65% 0.0187 -0.1425)
OKLCHoklch(37.65% 0.144 277.5)
XYZxyz(7.1645, 4.8485, 24.9794)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33328B #8A8B32
analogous
#325E8B #33328B #60328B
triadic
#33328B #8B3332 #328B33
tetradic
#33328B #8B325E #8A8B32 #328B60
square
#33328B #8B325E #8A8B32 #328B60
split-complementary
#33328B #8B6032 #5E8B32
monochromatic
#121231 #22225E #33328B #4442B8 #6E6DCA

Accessibility & contrast

On white

10.66
#33328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#33328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33328B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33328B#FFFFFF#000000##FFFFFF
##33328B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33328b;
/* rgb */ color: rgb(51, 50, 139);
/* oklch */ color: oklch(37.6% 0.144 277.5);
Tailwind
colors: {
  custom: {
    50: '#756aae',
    500: '#33328b',
    950: '#000000',
  },
}
SCSS
$custom: #33328b;
$custom-light: #756aae;
$custom-dark: #000000;
JSON
{
  "hex": "#33328b",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 240.674,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37649,
    "c": 0.14373,
    "h": 277.5
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#33328B
secondary
#B1B267
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33328B

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

Preview Lab → · Contrast checker → · Palette generator →

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