#316587#316587

#316587 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.6% C 0.078 H 239.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#316587
RGBrgb(49, 101, 135)
HSLhsl(204, 47%, 36%)
HSVhsv(204, 64%, 53%)
CMYKcmyk(63.7%, 25.2%, 0%, 47.1%)
CIE-LABlab(40.75, -6.29, -24.03)
CIE-LCHlch(40.75, 24.84, 255.32°)
OKLaboklab(48.63% -0.0393 -0.0674)
OKLCHoklch(48.63% 0.078 239.7)
XYZxyz(10.2918, 11.7086, 24.6346)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316587 #875331
analogous
#31877E #316587 #313A87
triadic
#316587 #873165 #658731
tetradic
#316587 #7E3187 #875331 #3A8731
square
#316587 #7E3187 #875331 #3A8731
split-complementary
#316587 #87313A #877E31
monochromatic
#10222D #21435A #316587 #4187B4 #6AA3C9

Accessibility & contrast

On white

6.28
#316587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#316587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316587
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316587#FFFFFF#000000##FFFFFF
##3165871.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#006E71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316587;
/* rgb */ color: rgb(49, 101, 135);
/* oklch */ color: oklch(48.6% 0.078 239.7);
Tailwind
colors: {
  custom: {
    50: '#7290aa',
    500: '#316587',
    950: '#000000',
  },
}
SCSS
$custom: #316587;
$custom-light: #7290aa;
$custom-dark: #000000;
JSON
{
  "hex": "#316587",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 135
  },
  "hsl": {
    "h": 203.721,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.07806,
    "h": 239.7
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#316587
secondary
#B08264
accent
#8651D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #316587

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

Preview Lab → · Contrast checker → · Palette generator →

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