#332392#332392

#332392 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.171 H 280.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#332392
RGBrgb(51, 35, 146)
HSLhsl(249, 61%, 35%)
HSVhsv(249, 76%, 57%)
CMYKcmyk(65.1%, 76%, 0%, 42.7%)
CIE-LABlab(23.61, 40.38, -58.26)
CIE-LCHlch(23.61, 70.88, 304.73°)
OKLaboklab(35.91% 0.0296 -0.1681)
OKLCHoklch(35.91% 0.171 280)
XYZxyz(7.1529, 3.9806, 27.5800)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332392 #829223
analogous
#234A92 #332392 #6B2392
triadic
#332392 #923323 #239233
tetradic
#332392 #92234A #829223 #23926B
square
#332392 #92234A #829223 #23926B
split-complementary
#332392 #926B23 #4A9223
monochromatic
#110B2F #221761 #332392 #442FC3 #6B58D7

Accessibility & contrast

On white

11.69
#332392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#332392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332392
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332392#FFFFFF#000000##FFFFFF
##3323921.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332392;
/* rgb */ color: rgb(51, 35, 146);
/* oklch */ color: oklch(35.9% 0.171 280.0);
Tailwind
colors: {
  custom: {
    50: '#7860b3',
    500: '#332392',
    950: '#000000',
  },
}
SCSS
$custom: #332392;
$custom-light: #7860b3;
$custom-dark: #000000;
JSON
{
  "hex": "#332392",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 248.649,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.17071,
    "h": 280
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#332392
secondary
#ADBB55
accent
#E443CD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332392

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

Preview Lab → · Contrast checker → · Palette generator →

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