#31687D#31687D

#31687D is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.067 H 225.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#31687D
RGBrgb(49, 104, 125)
HSLhsl(197, 44%, 34%)
HSVhsv(197, 61%, 49%)
CMYKcmyk(60.8%, 16.8%, 0%, 51%)
CIE-LABlab(41.27, -11.46, -17.18)
CIE-LCHlch(41.27, 20.65, 236.29°)
OKLaboklab(48.9% -0.0467 -0.0478)
OKLCHoklch(48.9% 0.067 225.7)
XYZxyz(9.9172, 12.0333, 21.1981)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31687D #7D4631
analogous
#317D6C #31687D #31427D
triadic
#31687D #7D3168 #687D31
tetradic
#31687D #6C317D #7D4631 #427D31
square
#31687D #6C317D #7D4631 #427D31
split-complementary
#31687D #7D3142 #7D6C31
monochromatic
#0F1F25 #204351 #31687D #428DA9 #66A9C3

Accessibility & contrast

On white

6.16
#31687D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#31687D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31687D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31687D#FFFFFF#000000##FFFFFF
##31687D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D667E
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#006E6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #31687d;
/* rgb */ color: rgb(49, 104, 125);
/* oklch */ color: oklch(48.9% 0.067 225.7);
Tailwind
colors: {
  custom: {
    50: '#7193a2',
    500: '#31687d',
    950: '#000000',
  },
}
SCSS
$custom: #31687d;
$custom-light: #7193a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31687d",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 125
  },
  "hsl": {
    "h": 196.579,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.06683,
    "h": 225.7
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#31687D
secondary
#AA7460
accent
#7754D3
background
#F7F9FA
surface
#EDF1F3
border
#C8CBCD
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #31687D

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

Preview Lab → · Contrast checker → · Palette generator →

#31687D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva