#333992#333992

#333992 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.144 H 274.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#333992
RGBrgb(51, 57, 146)
HSLhsl(236, 48%, 39%)
HSVhsv(236, 65%, 57%)
CMYKcmyk(65.1%, 61%, 0%, 42.7%)
CIE-LABlab(28.65, 26.78, -49.99)
CIE-LCHlch(28.65, 56.71, 298.18°)
OKLaboklab(39.57% 0.0119 -0.1439)
OKLCHoklch(39.57% 0.144 274.7)
XYZxyz(8.0150, 5.7047, 27.8673)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333992 #928C33
analogous
#336892 #333992 #5C3392
triadic
#333992 #923339 #399233
tetradic
#333992 #923368 #928C33 #33925C
square
#333992 #923368 #928C33 #33925C
split-complementary
#333992 #925C33 #689233
monochromatic
#131637 #232765 #333992 #444CBE #7278CE

Accessibility & contrast

On white

9.81
#333992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#333992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333992
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333992#FFFFFF#000000##FFFFFF
##3339921.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #333992;
/* rgb */ color: rgb(51, 57, 146);
/* oklch */ color: oklch(39.6% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#766fb3',
    500: '#333992',
    950: '#000000',
  },
}
SCSS
$custom: #333992;
$custom-light: #766fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#333992",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 236.211,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.14438,
    "h": 274.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#333992
secondary
#B6B16B
accent
#CF50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333992

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

Preview Lab → · Contrast checker → · Palette generator →

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