#333696#333696

#333696 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.154 H 275.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#333696
RGBrgb(51, 54, 150)
HSLhsl(238, 49%, 39%)
HSVhsv(238, 66%, 59%)
CMYKcmyk(66%, 64%, 0%, 41.2%)
CIE-LABlab(28.23, 30.17, -53.14)
CIE-LCHlch(28.23, 61.11, 299.59°)
OKLaboklab(39.36% 0.0144 -0.1531)
OKLCHoklch(39.36% 0.154 275.4)
XYZxyz(8.1876, 5.5435, 29.4868)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333696 #969333
analogous
#336896 #333696 #623396
triadic
#333696 #963336 #369633
tetradic
#333696 #963368 #969333 #339662
square
#333696 #963368 #969333 #339662
split-complementary
#333696 #966233 #689633
monochromatic
#14153B #232668 #333696 #464AC0 #7477D0

Accessibility & contrast

On white

9.96
#333696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#333696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333696
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333696#FFFFFF#000000##FFFFFF
##3336961.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #333696;
/* rgb */ color: rgb(51, 54, 150);
/* oklch */ color: oklch(39.4% 0.154 275.4);
Tailwind
colors: {
  custom: {
    50: '#776db6',
    500: '#333696',
    950: '#000000',
  },
}
SCSS
$custom: #333696;
$custom-light: #776db6;
$custom-dark: #000000;
JSON
{
  "hex": "#333696",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 238.182,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39357,
    "c": 0.15383,
    "h": 275.4
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#333696
secondary
#B8B66D
accent
#D54FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333696

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

Preview Lab → · Contrast checker → · Palette generator →

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