#332C91#332C91

#332C91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.159 H 278.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#332C91
RGBrgb(51, 44, 145)
HSLhsl(244, 53%, 37%)
HSVhsv(244, 70%, 57%)
CMYKcmyk(64.8%, 69.7%, 0%, 43.1%)
CIE-LABlab(25.41, 34.78, -54.68)
CIE-LCHlch(25.41, 64.80, 302.46°)
OKLaboklab(37.17% 0.0232 -0.1577)
OKLCHoklch(37.17% 0.159 278.4)
XYZxyz(7.3751, 4.5489, 27.2720)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C91 #8A912C
analogous
#2C5891 #332C91 #652C91
triadic
#332C91 #91332C #2C9133
tetradic
#332C91 #912C58 #8A912C #2C9165
square
#332C91 #912C58 #8A912C #2C9165
split-complementary
#332C91 #91652C #58912C
monochromatic
#121033 #221E62 #332C91 #443AC0 #6E67D1

Accessibility & contrast

On white

10.99
#332C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#332C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C91
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C91#FFFFFF#000000##FFFFFF
##332C911.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332c91;
/* rgb */ color: rgb(51, 44, 145);
/* oklch */ color: oklch(37.2% 0.159 278.4);
Tailwind
colors: {
  custom: {
    50: '#7766b2',
    500: '#332c91',
    950: '#000000',
  },
}
SCSS
$custom: #332c91;
$custom-light: #7766b2;
$custom-dark: #000000;
JSON
{
  "hex": "#332c91",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 244.158,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37168,
    "c": 0.15939,
    "h": 278.4
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332C91

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

Preview Lab → · Contrast checker → · Palette generator →

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