#323040#323040

#323040 is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.8% C 0.028 H 290.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#323040
RGBrgb(50, 48, 64)
HSLhsl(248, 14%, 22%)
HSVhsv(248, 25%, 25%)
CMYKcmyk(21.9%, 25%, 0%, 74.9%)
CIE-LABlab(20.68, 4.96, -9.72)
CIE-LCHlch(20.68, 10.91, 297.06°)
OKLaboklab(31.81% 0.0099 -0.0266)
OKLCHoklch(31.81% 0.028 290.4)
XYZxyz(3.2975, 3.1621, 5.2861)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323040 #3E4030
analogous
#303640 #323040 #3A3040
triadic
#323040 #403230 #304032
tetradic
#323040 #403036 #3E4030 #30403A
square
#323040 #403036 #3E4030 #30403A
split-complementary
#323040 #403A30 #364030
monochromatic
#0E0D11 #17161D #323040 #4D4A63 #696486

Accessibility & contrast

On white

12.86
#323040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#323040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323040
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323040#FFFFFF#000000##FFFFFF
##3230401.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3241
Deuteranopia (green-blind)
#2C3140
Tritanopia (blue-blind)
#2F3335
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #323040;
/* rgb */ color: rgb(50, 48, 64);
/* oklch */ color: oklch(31.8% 0.028 290.4);
Tailwind
colors: {
  custom: {
    50: '#6a6874',
    500: '#323040',
    950: '#000000',
  },
}
SCSS
$custom: #323040;
$custom-light: #6a6874;
$custom-dark: #000000;
JSON
{
  "hex": "#323040",
  "rgb": {
    "r": 50,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 247.5,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.02836,
    "h": 290.4
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#323040
secondary
#6E705C
accent
#B771AE
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #323040

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

Preview Lab → · Contrast checker → · Palette generator →

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