#316987#316987

#316987 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.6% C 0.076 H 234.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#316987
RGBrgb(49, 105, 135)
HSLhsl(201, 47%, 36%)
HSVhsv(201, 64%, 53%)
CMYKcmyk(63.7%, 22.2%, 0%, 47.1%)
CIE-LABlab(42.01, -8.68, -22.08)
CIE-LCHlch(42.01, 23.72, 248.54°)
OKLaboklab(49.63% -0.0439 -0.0618)
OKLCHoklch(49.63% 0.076 234.6)
XYZxyz(10.6897, 12.5043, 24.7672)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316987 #874F31
analogous
#31877A #316987 #313E87
triadic
#316987 #873169 #698731
tetradic
#316987 #7A3187 #874F31 #3E8731
square
#316987 #7A3187 #874F31 #3E8731
split-complementary
#316987 #87313E #877A31
monochromatic
#10232D #21465A #316987 #418CB4 #6AA8C9

Accessibility & contrast

On white

6.00
#316987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#316987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316987
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316987#FFFFFF#000000##FFFFFF
##3169871.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316987;
/* rgb */ color: rgb(49, 105, 135);
/* oklch */ color: oklch(49.6% 0.076 234.6);
Tailwind
colors: {
  custom: {
    50: '#7293aa',
    500: '#316987',
    950: '#000000',
  },
}
SCSS
$custom: #316987;
$custom-light: #7293aa;
$custom-dark: #000000;
JSON
{
  "hex": "#316987",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 200.93,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.07583,
    "h": 234.6
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#316987
secondary
#B07E64
accent
#8051D6
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #316987

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

Preview Lab → · Contrast checker → · Palette generator →

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