#333587#333587

#333587 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.134 H 276.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#333587
RGBrgb(51, 53, 135)
HSLhsl(239, 45%, 36%)
HSVhsv(239, 62%, 53%)
CMYKcmyk(62.2%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.73, 25.50, -46.31)
CIE-LCHlch(26.73, 52.87, 298.83°)
OKLaboklab(37.86% 0.0159 -0.1331)
OKLCHoklch(37.86% 0.134 276.8)
XYZxyz(7.0101, 4.9987, 23.5124)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333587 #878533
analogous
#335F87 #333587 #5B3387
triadic
#333587 #873335 #358733
tetradic
#333587 #87335F #878533 #33875B
square
#333587 #87335F #878533 #33875B
split-complementary
#333587 #875B33 #5F8733
monochromatic
#11122E #22245B #333587 #4446B3 #6D6FC8

Accessibility & contrast

On white

10.50
#333587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#333587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333587
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333587#FFFFFF#000000##FFFFFF
##3335871.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333587;
/* rgb */ color: rgb(51, 53, 135);
/* oklch */ color: oklch(37.9% 0.134 276.8);
Tailwind
colors: {
  custom: {
    50: '#746cab',
    500: '#333587',
    950: '#000000',
  },
}
SCSS
$custom: #333587;
$custom-light: #746cab;
$custom-dark: #000000;
JSON
{
  "hex": "#333587",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 238.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.13407,
    "h": 276.8
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#333587
secondary
#B0AE66
accent
#D253D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #333587

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

Preview Lab → · Contrast checker → · Palette generator →

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