#333593#333593

#333593 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.151 H 275.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#333593
RGBrgb(51, 53, 147)
HSLhsl(239, 48%, 39%)
HSVhsv(239, 65%, 58%)
CMYKcmyk(65.3%, 63.9%, 0%, 42.4%)
CIE-LABlab(27.73, 29.76, -52.12)
CIE-LCHlch(27.73, 60.02, 299.73°)
OKLaboklab(38.91% 0.0155 -0.1502)
OKLCHoklch(38.91% 0.151 275.9)
XYZxyz(7.9031, 5.3559, 28.2154)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333593 #939133
analogous
#336593 #333593 #613393
triadic
#333593 #933335 #359333
tetradic
#333593 #933365 #939133 #339361
square
#333593 #933365 #939133 #339361
split-complementary
#333593 #936133 #659333
monochromatic
#131438 #232566 #333593 #4547BE #7274CE

Accessibility & contrast

On white

10.14
#333593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#333593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333593
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333593#FFFFFF#000000##FFFFFF
##3335931.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333593;
/* rgb */ color: rgb(51, 53, 147);
/* oklch */ color: oklch(38.9% 0.151 275.9);
Tailwind
colors: {
  custom: {
    50: '#766cb4',
    500: '#333593',
    950: '#000000',
  },
}
SCSS
$custom: #333593;
$custom-light: #766cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#333593",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 147
  },
  "hsl": {
    "h": 238.75,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.15096,
    "h": 275.9
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#333593
secondary
#B6B56C
accent
#D550D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333593

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

Preview Lab → · Contrast checker → · Palette generator →

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