#332F4E#332F4E

#332F4E is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.054 H 288.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#332F4E
RGBrgb(51, 47, 78)
HSLhsl(248, 25%, 25%)
HSVhsv(248, 40%, 31%)
CMYKcmyk(34.6%, 39.7%, 0%, 69.4%)
CIE-LABlab(21.16, 10.15, -18.44)
CIE-LCHlch(21.16, 21.05, 298.84°)
OKLaboklab(32.43% 0.0176 -0.0514)
OKLCHoklch(32.43% 0.054 288.9)
XYZxyz(3.7565, 3.2868, 7.6427)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F4E #4A4E2F
analogous
#2F3B4E #332F4E #432F4E
triadic
#332F4E #4E332F #2F4E33
tetradic
#332F4E #4E2F3B #4A4E2F #2F4E43
square
#332F4E #4E2F3B #4A4E2F #2F4E43
split-complementary
#332F4E #4E432F #3B4E2F
monochromatic
#0C0C13 #1A1828 #332F4E #4C4674 #655D9A

Accessibility & contrast

On white

12.67
#332F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#332F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F4E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F4E#FFFFFF#000000##FFFFFF
##332F4E1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334F
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#2D353A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #332f4e;
/* rgb */ color: rgb(51, 47, 78);
/* oklch */ color: oklch(32.4% 0.054 288.9);
Tailwind
colors: {
  custom: {
    50: '#6c677f',
    500: '#332f4e',
    950: '#000000',
  },
}
SCSS
$custom: #332f4e;
$custom-light: #6c677f;
$custom-dark: #000000;
JSON
{
  "hex": "#332f4e",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 247.742,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.05438,
    "h": 288.9
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#332F4E
secondary
#7A7F5A
accent
#C167B6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #332F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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