#333486#333486

#333486 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.134 H 277.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#333486
RGBrgb(51, 52, 134)
HSLhsl(239, 45%, 36%)
HSVhsv(239, 62%, 53%)
CMYKcmyk(61.9%, 61.2%, 0%, 47.5%)
CIE-LABlab(26.39, 25.81, -46.24)
CIE-LCHlch(26.39, 52.96, 299.16°)
OKLaboklab(37.59% 0.017 -0.1329)
OKLCHoklch(37.59% 0.134 277.3)
XYZxyz(6.8949, 4.8805, 23.1283)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333486 #868533
analogous
#335E86 #333486 #5C3386
triadic
#333486 #863334 #348633
tetradic
#333486 #86335E #868533 #33865C
square
#333486 #86335E #868533 #33865C
split-complementary
#333486 #865C33 #5E8633
monochromatic
#11122D #22235A #333486 #4445B2 #6C6DC7

Accessibility & contrast

On white

10.63
#333486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#333486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333486
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333486#FFFFFF#000000##FFFFFF
##3334861.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #333486;
/* rgb */ color: rgb(51, 52, 134);
/* oklch */ color: oklch(37.6% 0.134 277.3);
Tailwind
colors: {
  custom: {
    50: '#746baa',
    500: '#333486',
    950: '#000000',
  },
}
SCSS
$custom: #333486;
$custom-light: #746baa;
$custom-dark: #000000;
JSON
{
  "hex": "#333486",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 239.277,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.13399,
    "h": 277.3
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#333486
secondary
#AFAE66
accent
#D353D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333486

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

Preview Lab → · Contrast checker → · Palette generator →

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