#317787#317787

#317787 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.073 H 215.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#317787
RGBrgb(49, 119, 135)
HSLhsl(191, 47%, 36%)
HSVhsv(191, 64%, 53%)
CMYKcmyk(63.7%, 11.9%, 0%, 47.1%)
CIE-LABlab(46.44, -16.67, -15.28)
CIE-LCHlch(46.44, 22.61, 222.50°)
OKLaboklab(53.17% -0.06 -0.0424)
OKLCHoklch(53.17% 0.073 215.3)
XYZxyz(12.2348, 15.5946, 25.2822)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317787 #874131
analogous
#31876C #317787 #314C87
triadic
#317787 #873177 #778731
tetradic
#317787 #6C3187 #874131 #4C8731
square
#317787 #6C3187 #874131 #4C8731
split-complementary
#317787 #87314C #876C31
monochromatic
#10282D #214F5A #317787 #419FB4 #6AB7C9

Accessibility & contrast

On white

5.10
#317787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#317787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317787
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317787#FFFFFF#000000##FFFFFF
##3177871.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7388
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317787;
/* rgb */ color: rgb(49, 119, 135);
/* oklch */ color: oklch(53.2% 0.073 215.3);
Tailwind
colors: {
  custom: {
    50: '#739eaa',
    500: '#317787',
    950: '#000000',
  },
}
SCSS
$custom: #317787;
$custom-light: #739eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#317787",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 191.163,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.07348,
    "h": 215.3
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#317787
secondary
#B07264
accent
#6A51D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317787

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

Preview Lab → · Contrast checker → · Palette generator →

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