#333590#333590

#333590 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.147 H 276.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#333590
RGBrgb(51, 53, 144)
HSLhsl(239, 48%, 38%)
HSVhsv(239, 65%, 56%)
CMYKcmyk(64.6%, 63.2%, 0%, 43.5%)
CIE-LABlab(27.47, 28.70, -50.69)
CIE-LCHlch(27.47, 58.25, 299.52°)
OKLaboklab(38.64% 0.0156 -0.146)
OKLCHoklch(38.64% 0.147 276.1)
XYZxyz(7.6707, 5.2630, 26.9918)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333590 #908E33
analogous
#336390 #333590 #5F3390
triadic
#333590 #903335 #359033
tetradic
#333590 #903363 #908E33 #33905F
square
#333590 #903363 #908E33 #33905F
split-complementary
#333590 #905F33 #639033
monochromatic
#131436 #232463 #333590 #4446BD #7173CD

Accessibility & contrast

On white

10.23
#333590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#333590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333590
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333590#FFFFFF#000000##FFFFFF
##3335901.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333590;
/* rgb */ color: rgb(51, 53, 144);
/* oklch */ color: oklch(38.6% 0.147 276.1);
Tailwind
colors: {
  custom: {
    50: '#766cb1',
    500: '#333590',
    950: '#000000',
  },
}
SCSS
$custom: #333590;
$custom-light: #766cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#333590",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 144
  },
  "hsl": {
    "h": 238.71,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.14681,
    "h": 276.1
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#333590
secondary
#B5B36A
accent
#D451D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333590

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

Preview Lab → · Contrast checker → · Palette generator →

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