#33319F#33319F

#33319F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.172 H 275.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#33319F
RGBrgb(51, 49, 159)
HSLhsl(241, 53%, 41%)
HSVhsv(241, 69%, 62%)
CMYKcmyk(67.9%, 69.2%, 0%, 37.6%)
CIE-LABlab(27.85, 36.48, -59.24)
CIE-LCHlch(27.85, 69.58, 301.62°)
OKLaboklab(39.33% 0.0175 -0.1711)
OKLCHoklch(39.33% 0.172 275.8)
XYZxyz(8.7195, 5.4029, 33.3775)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33319F #9D9F31
analogous
#31669F #33319F #6A319F
triadic
#33319F #9F3331 #319F33
tetradic
#33319F #9F3166 #9D9F31 #319F6A
square
#33319F #9F3166 #9D9F31 #319F6A
split-complementary
#33319F #9F6A31 #669F31
monochromatic
#151441 #242370 #33319F #4947C6 #7776D5

Accessibility & contrast

On white

10.09
#33319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#33319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33319F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33319F#FFFFFF#000000##FFFFFF
##33319F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33319f;
/* rgb */ color: rgb(51, 49, 159);
/* oklch */ color: oklch(39.3% 0.172 275.8);
Tailwind
colors: {
  custom: {
    50: '#796abc',
    500: '#33319f',
    950: '#000000',
  },
}
SCSS
$custom: #33319f;
$custom-light: #796abc;
$custom-dark: #000000;
JSON
{
  "hex": "#33319f",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 241.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.17196,
    "h": 275.8
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#33319F
secondary
#BBBD6F
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33319F

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

Preview Lab → · Contrast checker → · Palette generator →

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