#323151#323151

#323151 is a dark, muted blue. Relative luminance 0.035; OKLCH L 33.0% C 0.056 H 284.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#323151
RGBrgb(50, 49, 81)
HSLhsl(242, 25%, 25%)
HSVhsv(242, 40%, 32%)
CMYKcmyk(38.3%, 39.5%, 0%, 68.2%)
CIE-LABlab(21.83, 9.37, -19.40)
CIE-LCHlch(21.83, 21.54, 295.79°)
OKLaboklab(32.97% 0.0138 -0.0542)
OKLCHoklch(32.97% 0.056 284.3)
XYZxyz(3.8985, 3.4687, 8.2471)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323151 #505131
analogous
#314051 #323151 #423151
triadic
#323151 #513231 #315132
tetradic
#323151 #513140 #505131 #315142
square
#323151 #513140 #505131 #315142
split-complementary
#323151 #514231 #405131
monochromatic
#0C0C13 #1A1A2B #323151 #4A4877 #615F9D

Accessibility & contrast

On white

12.40
#323151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#323151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323151
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323151#FFFFFF#000000##FFFFFF
##3231511.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273552
Deuteranopia (green-blind)
#263350
Tritanopia (blue-blind)
#2A373D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #323151;
/* rgb */ color: rgb(50, 49, 81);
/* oklch */ color: oklch(33.0% 0.056 284.3);
Tailwind
colors: {
  custom: {
    50: '#6b6982',
    500: '#323151',
    950: '#000000',
  },
}
SCSS
$custom: #323151;
$custom-light: #6b6982;
$custom-dark: #000000;
JSON
{
  "hex": "#323151",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 241.875,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32972,
    "c": 0.05599,
    "h": 284.3
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#323151
secondary
#81825C
accent
#C167BE
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #323151

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

Preview Lab → · Contrast checker → · Palette generator →

#323151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva