#333589#333589

#333589 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.137 H 276.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#333589
RGBrgb(51, 53, 137)
HSLhsl(239, 46%, 37%)
HSVhsv(239, 63%, 54%)
CMYKcmyk(62.8%, 61.3%, 0%, 46.3%)
CIE-LABlab(26.89, 26.21, -47.30)
CIE-LCHlch(26.89, 54.07, 298.99°)
OKLaboklab(38.03% 0.0159 -0.136)
OKLCHoklch(38.03% 0.137 276.7)
XYZxyz(7.1522, 5.0556, 24.2610)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333589 #898733
analogous
#336089 #333589 #5C3389
triadic
#333589 #893335 #358933
tetradic
#333589 #893360 #898733 #33895C
square
#333589 #893360 #898733 #33895C
split-complementary
#333589 #895C33 #608933
monochromatic
#121230 #22245C #333589 #4446B6 #6E70C9

Accessibility & contrast

On white

10.44
#333589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#333589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333589
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333589#FFFFFF#000000##FFFFFF
##3335891.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333589;
/* rgb */ color: rgb(51, 53, 137);
/* oklch */ color: oklch(38.0% 0.137 276.7);
Tailwind
colors: {
  custom: {
    50: '#746cac',
    500: '#333589',
    950: '#000000',
  },
}
SCSS
$custom: #333589;
$custom-light: #746cac;
$custom-dark: #000000;
JSON
{
  "hex": "#333589",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 238.605,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38034,
    "c": 0.13693,
    "h": 276.7
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#333589
secondary
#B1AF67
accent
#D252D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #333589

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

Preview Lab → · Contrast checker → · Palette generator →

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