#317587#317587

#317587 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.7% C 0.073 H 218.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#317587
RGBrgb(49, 117, 135)
HSLhsl(193, 47%, 36%)
HSVhsv(193, 64%, 53%)
CMYKcmyk(63.7%, 13.3%, 0%, 47.1%)
CIE-LABlab(45.80, -15.56, -16.24)
CIE-LCHlch(45.80, 22.50, 226.22°)
OKLaboklab(52.66% -0.0577 -0.0452)
OKLCHoklch(52.66% 0.073 218)
XYZxyz(11.9993, 15.1236, 25.2037)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317587 #874331
analogous
#31876E #317587 #314A87
triadic
#317587 #873175 #758731
tetradic
#317587 #6E3187 #874331 #4A8731
square
#317587 #6E3187 #874331 #4A8731
split-complementary
#317587 #87314A #876E31
monochromatic
#10272D #214E5A #317587 #419CB4 #6AB5C9

Accessibility & contrast

On white

5.22
#317587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#317587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317587
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317587#FFFFFF#000000##FFFFFF
##3175871.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697288
Deuteranopia (green-blind)
#5D6887
Tritanopia (blue-blind)
#007B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317587;
/* rgb */ color: rgb(49, 117, 135);
/* oklch */ color: oklch(52.7% 0.073 218.0);
Tailwind
colors: {
  custom: {
    50: '#739daa',
    500: '#317587',
    950: '#000000',
  },
}
SCSS
$custom: #317587;
$custom-light: #739daa;
$custom-dark: #000000;
JSON
{
  "hex": "#317587",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 135
  },
  "hsl": {
    "h": 192.558,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.07328,
    "h": 218
  },
  "luminance": 0.15125
}

Semantic roles & 50–950 ramp

primary
#317587
secondary
#B07464
accent
#6D51D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317587

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

Preview Lab → · Contrast checker → · Palette generator →

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