#332F76#332F76

#332F76 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.3% C 0.118 H 281.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#332F76
RGBrgb(51, 47, 118)
HSLhsl(243, 43%, 32%)
HSVhsv(243, 60%, 46%)
CMYKcmyk(56.8%, 60.2%, 0%, 53.7%)
CIE-LABlab(23.82, 23.52, -40.33)
CIE-LCHlch(23.82, 46.69, 300.24°)
OKLaboklab(35.28% 0.0225 -0.1156)
OKLCHoklch(35.28% 0.118 281)
XYZxyz(5.6508, 4.0445, 17.6189)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F76 #72762F
analogous
#2F4F76 #332F76 #562F76
triadic
#332F76 #76332F #2F7633
tetradic
#332F76 #762F4F #72762F #2F7656
square
#332F76 #762F4F #72762F #2F7656
split-complementary
#332F76 #76562F #4F762F
monochromatic
#0D0C1E #201E4A #332F76 #4640A2 #6560C0

Accessibility & contrast

On white

11.61
#332F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#332F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F76
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F76#FFFFFF#000000##FFFFFF
##332F761.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#14404D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #332f76;
/* rgb */ color: rgb(51, 47, 118);
/* oklch */ color: oklch(35.3% 0.118 281.0);
Tailwind
colors: {
  custom: {
    50: '#71679e',
    500: '#332f76',
    950: '#000000',
  },
}
SCSS
$custom: #332f76;
$custom-light: #71679e;
$custom-dark: #000000;
JSON
{
  "hex": "#332f76",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 243.38,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.11774,
    "h": 281
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#332F76
secondary
#A2A75A
accent
#D355CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #332F76

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

Preview Lab → · Contrast checker → · Palette generator →

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