#31687B#31687B

#31687B is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.8% C 0.065 H 223.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#31687B
RGBrgb(49, 104, 123)
HSLhsl(195, 43%, 34%)
HSVhsv(195, 60%, 48%)
CMYKcmyk(60.2%, 15.4%, 0%, 51.8%)
CIE-LABlab(41.19, -12.12, -16.09)
CIE-LCHlch(41.19, 20.14, 233.01°)
OKLaboklab(48.81% -0.0475 -0.0447)
OKLCHoklch(48.81% 0.065 223.3)
XYZxyz(9.7907, 11.9827, 20.5320)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31687B #7B4431
analogous
#317B69 #31687B #31437B
triadic
#31687B #7B3168 #687B31
tetradic
#31687B #69317B #7B4431 #437B31
square
#31687B #69317B #7B4431 #437B31
split-complementary
#31687B #7B3143 #7B6931
monochromatic
#0E1E23 #20434F #31687B #428DA7 #65AAC2

Accessibility & contrast

On white

6.18
#31687B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#31687B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31687B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31687B#FFFFFF#000000##FFFFFF
##31687B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D667C
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#006E6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #31687b;
/* rgb */ color: rgb(49, 104, 123);
/* oklch */ color: oklch(48.8% 0.065 223.3);
Tailwind
colors: {
  custom: {
    50: '#7093a1',
    500: '#31687b',
    950: '#000000',
  },
}
SCSS
$custom: #31687b;
$custom-light: #7093a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31687b",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 123
  },
  "hsl": {
    "h": 195.405,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48811,
    "c": 0.06526,
    "h": 223.3
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#31687B
secondary
#A9725F
accent
#7555D3
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0F
muted
#7B7E7E

Preview Lab

Preview with #31687B

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

Preview Lab → · Contrast checker → · Palette generator →

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