#313442#313442

#313442 is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.025 H 275.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#313442
RGBrgb(49, 52, 66)
HSLhsl(229, 15%, 23%)
HSVhsv(229, 26%, 26%)
CMYKcmyk(25.8%, 21.2%, 0%, 74.1%)
CIE-LABlab(21.95, 2.40, -9.15)
CIE-LCHlch(21.95, 9.46, 284.73°)
OKLaboklab(32.8% 0.0024 -0.025)
OKLCHoklch(32.8% 0.025 275.5)
XYZxyz(3.4777, 3.5022, 5.6460)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313442 #423F31
analogous
#313C42 #313442 #363142
triadic
#313442 #423134 #344231
tetradic
#313442 #42313C #423F31 #314236
square
#313442 #42313C #423F31 #314236
split-complementary
#313442 #423631 #3C4231
monochromatic
#0D0E12 #17181F #313442 #4B5065 #656B88

Accessibility & contrast

On white

12.35
#313442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#313442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313442
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313442#FFFFFF#000000##FFFFFF
##3134421.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#2D3739
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313442;
/* rgb */ color: rgb(49, 52, 66);
/* oklch */ color: oklch(32.8% 0.025 275.5);
Tailwind
colors: {
  custom: {
    50: '#696b76',
    500: '#313442',
    950: '#000000',
  },
}
SCSS
$custom: #313442;
$custom-light: #696b76;
$custom-dark: #000000;
JSON
{
  "hex": "#313442",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 229.412,
    "s": 14.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.02513,
    "h": 275.5
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#313442
secondary
#726E5D
accent
#AB70B8
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #313442

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

Preview Lab → · Contrast checker → · Palette generator →

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