#333393#333393

#333393 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.154 H 276.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#333393
RGBrgb(51, 51, 147)
HSLhsl(240, 48%, 39%)
HSVhsv(240, 65%, 58%)
CMYKcmyk(65.3%, 65.3%, 0%, 42.4%)
CIE-LABlab(27.23, 31.05, -52.92)
CIE-LCHlch(27.23, 61.36, 300.40°)
OKLaboklab(38.55% 0.0172 -0.1525)
OKLCHoklch(38.55% 0.154 276.4)
XYZxyz(7.8138, 5.1774, 28.1857)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333393 #939333
analogous
#336393 #333393 #633393
triadic
#333393 #933333 #339333
tetradic
#333393 #933363 #939333 #339363
square
#333393 #933363 #939333 #339363
split-complementary
#333393 #936333 #639333
monochromatic
#131338 #232366 #333393 #4545BE #7272CE

Accessibility & contrast

On white

10.32
#333393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#333393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333393
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333393#FFFFFF#000000##FFFFFF
##3333931.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333393;
/* rgb */ color: rgb(51, 51, 147);
/* oklch */ color: oklch(38.5% 0.154 276.4);
Tailwind
colors: {
  custom: {
    50: '#776bb4',
    500: '#333393',
    950: '#000000',
  },
}
SCSS
$custom: #333393;
$custom-light: #776bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#333393",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.15351,
    "h": 276.4
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#333393
secondary
#B6B66C
accent
#D850D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333393

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

Preview Lab → · Contrast checker → · Palette generator →

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