#332194#332194

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

Color values

HEX#332194
RGBrgb(51, 33, 148)
HSLhsl(249, 64%, 35%)
HSVhsv(249, 78%, 58%)
CMYKcmyk(65.5%, 77.7%, 0%, 42%)
CIE-LABlab(23.44, 42.09, -59.77)
CIE-LCHlch(23.44, 73.11, 305.15°)
OKLaboklab(35.85% 0.0304 -0.1725)
OKLCHoklch(35.85% 0.175 280)
XYZxyz(7.2527, 3.9291, 28.3874)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332194 #829421
analogous
#214994 #332194 #6C2194
triadic
#332194 #943321 #219433
tetradic
#332194 #942149 #829421 #21946C
square
#332194 #942149 #829421 #21946C
split-complementary
#332194 #946C21 #499421
monochromatic
#110B30 #221662 #332194 #442CC6 #6B56D9

Accessibility & contrast

On white

11.76
#332194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#332194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332194
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332194#FFFFFF#000000##FFFFFF
##3321941.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332194;
/* rgb */ color: rgb(51, 33, 148);
/* oklch */ color: oklch(35.9% 0.175 280.0);
Tailwind
colors: {
  custom: {
    50: '#785fb5',
    500: '#332194',
    950: '#000000',
  },
}
SCSS
$custom: #332194;
$custom-light: #785fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#332194",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 249.391,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35854,
    "c": 0.17519,
    "h": 280
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#332194
secondary
#ADBD54
accent
#E741CD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332194

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

Preview Lab → · Contrast checker → · Palette generator →

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