#332C8F#332C8F

#332C8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.157 H 278.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#332C8F
RGBrgb(51, 44, 143)
HSLhsl(244, 53%, 37%)
HSVhsv(244, 69%, 56%)
CMYKcmyk(64.3%, 69.2%, 0%, 43.9%)
CIE-LABlab(25.22, 34.09, -53.74)
CIE-LCHlch(25.22, 63.65, 302.39°)
OKLaboklab(36.98% 0.0235 -0.155)
OKLCHoklch(36.98% 0.157 278.6)
XYZxyz(7.2223, 4.4878, 26.4669)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C8F #888F2C
analogous
#2C578F #332C8F #652C8F
triadic
#332C8F #8F332C #2C8F33
tetradic
#332C8F #8F2C57 #888F2C #2C8F65
square
#332C8F #8F2C57 #888F2C #2C8F65
split-complementary
#332C8F #8F652C #578F2C
monochromatic
#120F31 #221E60 #332C8F #443ABE #6D66D0

Accessibility & contrast

On white

11.07
#332C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#332C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C8F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C8F#FFFFFF#000000##FFFFFF
##332C8F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332c8f;
/* rgb */ color: rgb(51, 44, 143);
/* oklch */ color: oklch(37.0% 0.157 278.6);
Tailwind
colors: {
  custom: {
    50: '#7666b1',
    500: '#332c8f',
    950: '#000000',
  },
}
SCSS
$custom: #332c8f;
$custom-light: #7666b1;
$custom-dark: #000000;
JSON
{
  "hex": "#332c8f",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 244.242,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36976,
    "c": 0.15674,
    "h": 278.6
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#332C8F
secondary
#B0B661
accent
#DC4BD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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