#332C8E#332C8E

#332C8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.155 H 278.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#332C8E
RGBrgb(51, 44, 142)
HSLhsl(244, 53%, 36%)
HSVhsv(244, 69%, 56%)
CMYKcmyk(64.1%, 69%, 0%, 44.3%)
CIE-LABlab(25.13, 33.75, -53.28)
CIE-LCHlch(25.13, 63.07, 302.36°)
OKLaboklab(36.88% 0.0236 -0.1536)
OKLCHoklch(36.88% 0.155 278.7)
XYZxyz(7.1468, 4.4576, 26.0697)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C8E #878E2C
analogous
#2C568E #332C8E #642C8E
triadic
#332C8E #8E332C #2C8E33
tetradic
#332C8E #8E2C56 #878E2C #2C8E64
square
#332C8E #8E2C56 #878E2C #2C8E64
split-complementary
#332C8E #8E642C #568E2C
monochromatic
#110F31 #221E5F #332C8E #443ABD #6D65CF

Accessibility & contrast

On white

11.10
#332C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#332C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C8E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C8E#FFFFFF#000000##FFFFFF
##332C8E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332c8e;
/* rgb */ color: rgb(51, 44, 142);
/* oklch */ color: oklch(36.9% 0.155 278.7);
Tailwind
colors: {
  custom: {
    50: '#7666b0',
    500: '#332c8e',
    950: '#000000',
  },
}
SCSS
$custom: #332c8e;
$custom-light: #7666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#332c8e",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 244.286,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.1554,
    "h": 278.7
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#332C8E
secondary
#B0B660
accent
#DC4CD2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #332C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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