#333392#333392

#333392 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.152 H 276.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#333392
RGBrgb(51, 51, 146)
HSLhsl(240, 48%, 39%)
HSVhsv(240, 65%, 57%)
CMYKcmyk(65.1%, 65.1%, 0%, 42.7%)
CIE-LABlab(27.15, 30.70, -52.45)
CIE-LCHlch(27.15, 60.78, 300.35°)
OKLaboklab(38.46% 0.0173 -0.1511)
OKLCHoklch(38.46% 0.152 276.5)
XYZxyz(7.7357, 5.1461, 27.7742)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333392 #929233
analogous
#336292 #333392 #623392
triadic
#333392 #923333 #339233
tetradic
#333392 #923362 #929233 #339262
square
#333392 #923362 #929233 #339262
split-complementary
#333392 #926233 #629233
monochromatic
#131337 #232365 #333392 #4444BE #7272CE

Accessibility & contrast

On white

10.35
#333392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#333392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333392
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333392#FFFFFF#000000##FFFFFF
##3333921.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333392;
/* rgb */ color: rgb(51, 51, 146);
/* oklch */ color: oklch(38.5% 0.152 276.5);
Tailwind
colors: {
  custom: {
    50: '#766bb3',
    500: '#333392',
    950: '#000000',
  },
}
SCSS
$custom: #333392;
$custom-light: #766bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#333392",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.15213,
    "h": 276.5
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333392

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

Preview Lab → · Contrast checker → · Palette generator →

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