#332C92#332C92

#332C92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.161 H 278.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#332C92
RGBrgb(51, 44, 146)
HSLhsl(244, 54%, 37%)
HSVhsv(244, 70%, 57%)
CMYKcmyk(65.1%, 69.9%, 0%, 42.7%)
CIE-LABlab(25.50, 35.12, -55.14)
CIE-LCHlch(25.50, 65.37, 302.49°)
OKLaboklab(37.26% 0.023 -0.1591)
OKLCHoklch(37.26% 0.161 278.2)
XYZxyz(7.4526, 4.5799, 27.6798)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C92 #8B922C
analogous
#2C5892 #332C92 #662C92
triadic
#332C92 #92332C #2C9233
tetradic
#332C92 #922C58 #8B922C #2C9266
square
#332C92 #922C58 #8B922C #2C9266
split-complementary
#332C92 #92662C #58922C
monochromatic
#121034 #231E63 #332C92 #433AC1 #6E67D1

Accessibility & contrast

On white

10.96
#332C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#332C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C92
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C92#FFFFFF#000000##FFFFFF
##332C921.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332c92;
/* rgb */ color: rgb(51, 44, 146);
/* oklch */ color: oklch(37.3% 0.161 278.2);
Tailwind
colors: {
  custom: {
    50: '#7766b3',
    500: '#332c92',
    950: '#000000',
  },
}
SCSS
$custom: #332c92;
$custom-light: #7766b3;
$custom-dark: #000000;
JSON
{
  "hex": "#332c92",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 244.118,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37264,
    "c": 0.16072,
    "h": 278.2
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#332C92
secondary
#B2B862
accent
#DD4BD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332C92

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

Preview Lab → · Contrast checker → · Palette generator →

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