#333394#333394

#333394 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.155 H 276.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#333394
RGBrgb(51, 51, 148)
HSLhsl(240, 49%, 39%)
HSVhsv(240, 66%, 58%)
CMYKcmyk(65.5%, 65.5%, 0%, 42%)
CIE-LABlab(27.32, 31.41, -53.39)
CIE-LCHlch(27.32, 61.94, 300.46°)
OKLaboklab(38.64% 0.0171 -0.1539)
OKLCHoklch(38.64% 0.155 276.3)
XYZxyz(7.8926, 5.2089, 28.6007)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333394 #949433
analogous
#336494 #333394 #643394
triadic
#333394 #943333 #339433
tetradic
#333394 #943364 #949433 #339464
square
#333394 #943364 #949433 #339464
split-complementary
#333394 #946433 #649433
monochromatic
#141439 #232366 #333394 #4545BF #7373CF

Accessibility & contrast

On white

10.28
#333394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333394
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333394#FFFFFF#000000##FFFFFF
##3333941.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333394;
/* rgb */ color: rgb(51, 51, 148);
/* oklch */ color: oklch(38.6% 0.155 276.3);
Tailwind
colors: {
  custom: {
    50: '#776bb4',
    500: '#333394',
    950: '#000000',
  },
}
SCSS
$custom: #333394;
$custom-light: #776bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#333394",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38639,
    "c": 0.15487,
    "h": 276.3
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#333394
secondary
#B7B76C
accent
#D84FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333394

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

Preview Lab → · Contrast checker → · Palette generator →

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