#332C96#332C96

#332C96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.166 H 277.8°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#332C96
RGBrgb(51, 44, 150)
HSLhsl(244, 55%, 38%)
HSVhsv(244, 71%, 59%)
CMYKcmyk(66%, 70.7%, 0%, 41.2%)
CIE-LABlab(25.88, 36.47, -56.98)
CIE-LCHlch(25.88, 67.65, 302.62°)
OKLaboklab(37.65% 0.0224 -0.1645)
OKLCHoklch(37.65% 0.166 277.8)
XYZxyz(7.7692, 4.7065, 29.3473)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C96 #8F962C
analogous
#2C5A96 #332C96 #682C96
triadic
#332C96 #96332C #2C9633
tetradic
#332C96 #962C5A #8F962C #2C9668
square
#332C96 #962C5A #8F962C #2C9668
split-complementary
#332C96 #96682C #5A962C
monochromatic
#131037 #231E67 #332C96 #433AC5 #7069D3

Accessibility & contrast

On white

10.82
#332C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#332C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C96
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C96#FFFFFF#000000##FFFFFF
##332C961.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #332c96;
/* rgb */ color: rgb(51, 44, 150);
/* oklch */ color: oklch(37.7% 0.166 277.8);
Tailwind
colors: {
  custom: {
    50: '#7866b6',
    500: '#332c96',
    950: '#000000',
  },
}
SCSS
$custom: #332c96;
$custom-light: #7866b6;
$custom-dark: #000000;
JSON
{
  "hex": "#332c96",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 243.962,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37652,
    "c": 0.16597,
    "h": 277.8
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#332C96
secondary
#B4BA64
accent
#DE4AD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332C96

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

Preview Lab → · Contrast checker → · Palette generator →

#332C96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva