#31586E#31586E

#31586E is a dark, muted cyan. Relative luminance 0.088; OKLCH L 44.1% C 0.057 H 234.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#31586E
RGBrgb(49, 88, 110)
HSLhsl(202, 38%, 31%)
HSVhsv(202, 55%, 43%)
CMYKcmyk(55.5%, 20%, 0%, 56.9%)
CIE-LABlab(35.51, -6.92, -16.81)
CIE-LCHlch(35.51, 18.18, 247.63°)
OKLaboklab(44.11% -0.033 -0.0468)
OKLCHoklch(44.11% 0.057 234.8)
XYZxyz(7.5698, 8.7576, 16.0403)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31586E #6E4731
analogous
#316E65 #31586E #31396E
triadic
#31586E #6E3158 #586E31
tetradic
#31586E #65316E #6E4731 #396E31
square
#31586E #65316E #6E4731 #396E31
split-complementary
#31586E #6E3139 #6E6531
monochromatic
#0B1419 #1E3644 #31586E #447A98 #6199B9

Accessibility & contrast

On white

7.63
#31586E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#31586E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31586E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31586E#FFFFFF#000000##FFFFFF
##31586E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576F
Deuteranopia (green-blind)
#45516E
Tritanopia (blue-blind)
#0B5E5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #31586e;
/* rgb */ color: rgb(49, 88, 110);
/* oklch */ color: oklch(44.1% 0.057 234.8);
Tailwind
colors: {
  custom: {
    50: '#6e8797',
    500: '#31586e',
    950: '#000000',
  },
}
SCSS
$custom: #31586e;
$custom-light: #6e8797;
$custom-dark: #000000;
JSON
{
  "hex": "#31586e",
  "rgb": {
    "r": 49,
    "g": 88,
    "b": 110
  },
  "hsl": {
    "h": 201.639,
    "s": 38.365,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.05725,
    "h": 234.8
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#31586E
secondary
#9F745C
accent
#8459CE
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0D
muted
#7A7C7E

Preview Lab

Preview with #31586E

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

Preview Lab → · Contrast checker → · Palette generator →

#31586E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva