#316E87#316E87

#316E87 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 50.9% C 0.074 H 227.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#316E87
RGBrgb(49, 110, 135)
HSLhsl(197, 47%, 36%)
HSVhsv(197, 64%, 53%)
CMYKcmyk(63.7%, 18.5%, 0%, 47.1%)
CIE-LABlab(43.58, -11.60, -19.64)
CIE-LCHlch(43.58, 22.81, 239.43°)
OKLaboklab(50.89% -0.0497 -0.0548)
OKLCHoklch(50.89% 0.074 227.8)
XYZxyz(11.2140, 13.5530, 24.9420)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E87 #874A31
analogous
#318775 #316E87 #314387
triadic
#316E87 #87316E #6E8731
tetradic
#316E87 #753187 #874A31 #438731
square
#316E87 #753187 #874A31 #438731
split-complementary
#316E87 #873143 #877531
monochromatic
#10252D #21495A #316E87 #4193B4 #6AADC9

Accessibility & contrast

On white

5.66
#316E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#316E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316E87
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E87#FFFFFF#000000##FFFFFF
##316E871.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616C88
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#007576
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #316e87;
/* rgb */ color: rgb(49, 110, 135);
/* oklch */ color: oklch(50.9% 0.074 227.8);
Tailwind
colors: {
  custom: {
    50: '#7297aa',
    500: '#316e87',
    950: '#000000',
  },
}
SCSS
$custom: #316e87;
$custom-light: #7297aa;
$custom-dark: #000000;
JSON
{
  "hex": "#316e87",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 135
  },
  "hsl": {
    "h": 197.442,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.07399,
    "h": 227.8
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#316E87
secondary
#B07A64
accent
#7851D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #316E87

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

Preview Lab → · Contrast checker → · Palette generator →

#316E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva