#333596#333596

#333596 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.155 H 275.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#333596
RGBrgb(51, 53, 150)
HSLhsl(239, 49%, 39%)
HSVhsv(239, 66%, 59%)
CMYKcmyk(66%, 64.7%, 0%, 41.2%)
CIE-LABlab(27.98, 30.82, -53.54)
CIE-LCHlch(27.98, 61.78, 299.93°)
OKLaboklab(39.18% 0.0153 -0.1543)
OKLCHoklch(39.18% 0.155 275.7)
XYZxyz(8.1416, 5.4513, 29.4714)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333596 #969433
analogous
#336796 #333596 #633396
triadic
#333596 #963335 #359633
tetradic
#333596 #963367 #969433 #339663
square
#333596 #963367 #969433 #339663
split-complementary
#333596 #966333 #679633
monochromatic
#14153B #232568 #333596 #4649C0 #7476D0

Accessibility & contrast

On white

10.05
#333596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#333596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333596
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333596#FFFFFF#000000##FFFFFF
##3335961.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333596;
/* rgb */ color: rgb(51, 53, 150);
/* oklch */ color: oklch(39.2% 0.155 275.7);
Tailwind
colors: {
  custom: {
    50: '#776cb6',
    500: '#333596',
    950: '#000000',
  },
}
SCSS
$custom: #333596;
$custom-light: #776cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#333596",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 238.788,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.15509,
    "h": 275.7
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333596

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

Preview Lab → · Contrast checker → · Palette generator →

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