#313F4E#313F4E

#313F4E is a dark, muted cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.032 H 250.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#313F4E
RGBrgb(49, 63, 78)
HSLhsl(211, 23%, 25%)
HSVhsv(211, 37%, 31%)
CMYKcmyk(37.2%, 19.2%, 0%, 69.4%)
CIE-LABlab(26.03, -1.39, -10.92)
CIE-LCHlch(26.03, 11.00, 262.75°)
OKLaboklab(36.17% -0.0107 -0.0301)
OKLCHoklch(36.17% 0.032 250.5)
XYZxyz(4.4189, 4.7578, 7.8918)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F4E #4E4031
analogous
#314E4E #313F4E #31314E
triadic
#313F4E #4E313F #3F4E31
tetradic
#313F4E #4E314E #4E4031 #314E31
square
#313F4E #4E314E #4E4031 #314E31
split-complementary
#313F4E #4E3131 #4E4E31
monochromatic
#0C0F13 #192128 #313F4E #495D74 #607C99

Accessibility & contrast

On white

10.76
#313F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#313F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F4E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F4E#FFFFFF#000000##FFFFFF
##313F4E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#363C4E
Tritanopia (blue-blind)
#284244
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #313f4e;
/* rgb */ color: rgb(49, 63, 78);
/* oklch */ color: oklch(36.2% 0.032 250.5);
Tailwind
colors: {
  custom: {
    50: '#6a747f',
    500: '#313f4e',
    950: '#000000',
  },
}
SCSS
$custom: #313f4e;
$custom-light: #6a747f;
$custom-dark: #000000;
JSON
{
  "hex": "#313f4e",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 78
  },
  "hsl": {
    "h": 211.034,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.03189,
    "h": 250.5
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#313F4E
secondary
#7F6E5C
accent
#9568BF
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #313F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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