#332E4E#332E4E

#332E4E is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.2% C 0.056 H 290.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#332E4E
RGBrgb(51, 46, 78)
HSLhsl(249, 26%, 24%)
HSVhsv(249, 41%, 31%)
CMYKcmyk(34.6%, 41%, 0%, 69.4%)
CIE-LABlab(20.86, 10.85, -18.91)
CIE-LCHlch(20.86, 21.80, 299.84°)
OKLaboklab(32.2% 0.0193 -0.0528)
OKLCHoklch(32.2% 0.056 290)
XYZxyz(3.7170, 3.2078, 7.6296)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E4E #494E2E
analogous
#2E394E #332E4E #432E4E
triadic
#332E4E #4E332E #2E4E33
tetradic
#332E4E #4E2E39 #494E2E #2E4E43
square
#332E4E #4E2E39 #494E2E #2E4E43
split-complementary
#332E4E #4E432E #394E2E
monochromatic
#0D0B13 #1A1728 #332E4E #4C4574 #655B9B

Accessibility & contrast

On white

12.79
#332E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#332E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E4E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E4E#FFFFFF#000000##FFFFFF
##332E4E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#25314D
Tritanopia (blue-blind)
#2D343A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #332e4e;
/* rgb */ color: rgb(51, 46, 78);
/* oklch */ color: oklch(32.2% 0.056 290.0);
Tailwind
colors: {
  custom: {
    50: '#6c667f',
    500: '#332e4e',
    950: '#000000',
  },
}
SCSS
$custom: #332e4e;
$custom-light: #6c667f;
$custom-dark: #000000;
JSON
{
  "hex": "#332e4e",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 249.375,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.05621,
    "h": 290
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#332E4E
secondary
#797F58
accent
#C266B4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #332E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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