#316787#316787

#316787 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.1% C 0.077 H 237.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#316787
RGBrgb(49, 103, 135)
HSLhsl(202, 47%, 36%)
HSVhsv(202, 64%, 53%)
CMYKcmyk(63.7%, 23.7%, 0%, 47.1%)
CIE-LABlab(41.38, -7.49, -23.05)
CIE-LCHlch(41.38, 24.24, 252.00°)
OKLaboklab(49.13% -0.0416 -0.0646)
OKLCHoklch(49.13% 0.077 237.2)
XYZxyz(10.4884, 12.1017, 24.7001)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316787 #875131
analogous
#31877C #316787 #313C87
triadic
#316787 #873167 #678731
tetradic
#316787 #7C3187 #875131 #3C8731
square
#316787 #7C3187 #875131 #3C8731
split-complementary
#316787 #87313C #877C31
monochromatic
#10222D #21455A #316787 #4189B4 #6AA5C9

Accessibility & contrast

On white

6.14
#316787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#316787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316787
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316787#FFFFFF#000000##FFFFFF
##3167871.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#4C5E86
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #316787;
/* rgb */ color: rgb(49, 103, 135);
/* oklch */ color: oklch(49.1% 0.077 237.2);
Tailwind
colors: {
  custom: {
    50: '#7292aa',
    500: '#316787',
    950: '#000000',
  },
}
SCSS
$custom: #316787;
$custom-light: #7292aa;
$custom-dark: #000000;
JSON
{
  "hex": "#316787",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 202.326,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.07687,
    "h": 237.2
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#316787
secondary
#B08064
accent
#8351D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #316787

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

Preview Lab → · Contrast checker → · Palette generator →

#316787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva