#317888#317888

#317888 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.074 H 215.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#317888
RGBrgb(49, 120, 136)
HSLhsl(191, 47%, 36%)
HSVhsv(191, 64%, 53%)
CMYKcmyk(64%, 11.8%, 0%, 46.7%)
CIE-LABlab(46.79, -16.90, -15.33)
CIE-LCHlch(46.79, 22.82, 222.21°)
OKLaboklab(53.47% -0.0607 -0.0426)
OKLCHoklch(53.47% 0.074 215)
XYZxyz(12.4252, 15.8622, 25.6947)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317888 #884131
analogous
#31886D #317888 #314D88
triadic
#317888 #883178 #788831
tetradic
#317888 #6D3188 #884131 #4D8831
square
#317888 #6D3188 #884131 #4D8831
split-complementary
#317888 #88314D #886D31
monochromatic
#11292E #21505B #317888 #41A0B5 #6AB8C9

Accessibility & contrast

On white

5.03
#317888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#317888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317888
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317888#FFFFFF#000000##FFFFFF
##3178881.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7489
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317888;
/* rgb */ color: rgb(49, 120, 136);
/* oklch */ color: oklch(53.5% 0.074 215.0);
Tailwind
colors: {
  custom: {
    50: '#739faa',
    500: '#317888',
    950: '#000000',
  },
}
SCSS
$custom: #317888;
$custom-light: #739faa;
$custom-dark: #000000;
JSON
{
  "hex": "#317888",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 136
  },
  "hsl": {
    "h": 191.034,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.07415,
    "h": 215
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#317888
secondary
#B17264
accent
#6A51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317888

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

Preview Lab → · Contrast checker → · Palette generator →

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