#33319E#33319E

#33319E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.171 H 275.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#33319E
RGBrgb(51, 49, 158)
HSLhsl(241, 53%, 41%)
HSVhsv(241, 69%, 62%)
CMYKcmyk(67.7%, 69%, 0%, 38%)
CIE-LABlab(27.76, 36.14, -58.79)
CIE-LCHlch(27.76, 69.01, 301.58°)
OKLaboklab(39.24% 0.0176 -0.1697)
OKLCHoklch(39.24% 0.171 275.9)
XYZxyz(8.6331, 5.3683, 32.9224)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33319E #9C9E31
analogous
#31659E #33319E #69319E
triadic
#33319E #9E3331 #319E33
tetradic
#33319E #9E3165 #9C9E31 #319E69
square
#33319E #9E3165 #9C9E31 #319E69
split-complementary
#33319E #9E6931 #659E31
monochromatic
#151441 #24236F #33319E #4946C6 #7775D4

Accessibility & contrast

On white

10.13
#33319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#33319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33319E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33319E#FFFFFF#000000##FFFFFF
##33319E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33319e;
/* rgb */ color: rgb(51, 49, 158);
/* oklch */ color: oklch(39.2% 0.171 275.9);
Tailwind
colors: {
  custom: {
    50: '#796abc',
    500: '#33319e',
    950: '#000000',
  },
}
SCSS
$custom: #33319e;
$custom-light: #796abc;
$custom-dark: #000000;
JSON
{
  "hex": "#33319e",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 241.101,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39235,
    "c": 0.17065,
    "h": 275.9
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#33319E
secondary
#BBBC6E
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33319E

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

Preview Lab → · Contrast checker → · Palette generator →

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