#31687F#31687F

#31687F is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.0% C 0.069 H 228.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#31687F
RGBrgb(49, 104, 127)
HSLhsl(198, 44%, 35%)
HSVhsv(198, 61%, 50%)
CMYKcmyk(61.4%, 18.1%, 0%, 50.2%)
CIE-LABlab(41.35, -10.80, -18.26)
CIE-LCHlch(41.35, 21.21, 239.41°)
OKLaboklab(48.99% -0.0459 -0.0509)
OKLCHoklch(48.99% 0.069 228)
XYZxyz(10.0462, 12.0849, 21.8778)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31687F #7F4831
analogous
#317F6F #31687F #31417F
triadic
#31687F #7F3168 #687F31
tetradic
#31687F #6F317F #7F4831 #417F31
square
#31687F #6F317F #7F4831 #417F31
split-complementary
#31687F #7F3141 #7F6F31
monochromatic
#0F2027 #204453 #31687F #428CAB #66A8C4

Accessibility & contrast

On white

6.15
#31687F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#31687F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31687F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31687F#FFFFFF#000000##FFFFFF
##31687F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6680
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#006F6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #31687f;
/* rgb */ color: rgb(49, 104, 127);
/* oklch */ color: oklch(49.0% 0.069 228.0);
Tailwind
colors: {
  custom: {
    50: '#7193a4',
    500: '#31687f',
    950: '#000000',
  },
}
SCSS
$custom: #31687f;
$custom-light: #7193a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31687f",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 127
  },
  "hsl": {
    "h": 197.692,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.06853,
    "h": 228
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#31687F
secondary
#AB7660
accent
#7A54D4
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #31687F

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

Preview Lab → · Contrast checker → · Palette generator →

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