#313E4E#313E4E

#313E4E is a dark, muted cyan. Relative luminance 0.046; OKLCH L 35.9% C 0.033 H 253.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#313E4E
RGBrgb(49, 62, 78)
HSLhsl(213, 23%, 25%)
HSVhsv(213, 37%, 31%)
CMYKcmyk(37.2%, 20.5%, 0%, 69.4%)
CIE-LABlab(25.71, -0.73, -11.41)
CIE-LCHlch(25.71, 11.44, 266.32°)
OKLaboklab(35.91% -0.0091 -0.0315)
OKLCHoklch(35.91% 0.033 253.9)
XYZxyz(4.3640, 4.6481, 7.8735)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E4E #4E4131
analogous
#314D4E #313E4E #32314E
triadic
#313E4E #4E313E #3E4E31
tetradic
#313E4E #4E314D #4E4131 #314E32
square
#313E4E #4E314D #4E4131 #314E32
split-complementary
#313E4E #4E3231 #4D4E31
monochromatic
#0C0F13 #192028 #313E4E #495C74 #607A99

Accessibility & contrast

On white

10.88
#313E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#313E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E4E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E4E#FFFFFF#000000##FFFFFF
##313E4E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F4F
Deuteranopia (green-blind)
#353C4E
Tritanopia (blue-blind)
#284243
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #313e4e;
/* rgb */ color: rgb(49, 62, 78);
/* oklch */ color: oklch(35.9% 0.033 253.9);
Tailwind
colors: {
  custom: {
    50: '#6a737f',
    500: '#313e4e',
    950: '#000000',
  },
}
SCSS
$custom: #313e4e;
$custom-light: #6a737f;
$custom-dark: #000000;
JSON
{
  "hex": "#313e4e",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 78
  },
  "hsl": {
    "h": 213.103,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35914,
    "c": 0.03275,
    "h": 253.9
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#313E4E
secondary
#7F6F5C
accent
#9868BF
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #313E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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