#333496#333496

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

Color values

HEX#333496
RGBrgb(51, 52, 150)
HSLhsl(239, 49%, 39%)
HSVhsv(239, 66%, 59%)
CMYKcmyk(66%, 65.3%, 0%, 41.2%)
CIE-LABlab(27.74, 31.47, -53.94)
CIE-LCHlch(27.74, 62.45, 300.26°)
OKLaboklab(39% 0.0161 -0.1555)
OKLCHoklch(39% 0.156 275.9)
XYZxyz(8.0965, 5.3611, 29.4564)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333496 #969533
analogous
#336696 #333496 #643396
triadic
#333496 #963334 #349633
tetradic
#333496 #963366 #969533 #339664
square
#333496 #963366 #969533 #339664
split-complementary
#333496 #966433 #669633
monochromatic
#14143B #232468 #333496 #4647C0 #7475D0

Accessibility & contrast

On white

10.13
#333496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#333496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##333496#FFFFFF#000000##FFFFFF
##3334961.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)
#004699
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333496;
/* rgb */ color: rgb(51, 52, 150);
/* oklch */ color: oklch(39.0% 0.156 275.9);
Tailwind
colors: {
  custom: {
    50: '#776cb6',
    500: '#333496',
    950: '#000000',
  },
}
SCSS
$custom: #333496;
$custom-light: #776cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#333496",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 239.394,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.15634,
    "h": 275.9
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#333496
secondary
#B8B76D
accent
#D74FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333496

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

Preview Lab → · Contrast checker → · Palette generator →

#333496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva