#317C8B#317C8B

#317C8B is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.6% C 0.076 H 213.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#317C8B
RGBrgb(49, 124, 139)
HSLhsl(190, 48%, 37%)
HSVhsv(190, 65%, 55%)
CMYKcmyk(64.7%, 10.8%, 0%, 45.5%)
CIE-LABlab(48.17, -18.12, -15.00)
CIE-LCHlch(48.17, 23.52, 219.62°)
OKLaboklab(54.61% -0.0639 -0.0417)
OKLCHoklch(54.61% 0.076 213.1)
XYZxyz(13.1326, 16.9310, 26.9970)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C8B #8B4031
analogous
#318B6D #317C8B #314F8B
triadic
#317C8B #8B317C #7C8B31
tetradic
#317C8B #6D318B #8B4031 #4F8B31
square
#317C8B #6D318B #8B4031 #4F8B31
split-complementary
#317C8B #8B314F #8B6D31
monochromatic
#112B31 #21545E #317C8B #41A4B8 #6BBBCB

Accessibility & contrast

On white

4.79
#317C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#317C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C8B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C8B#FFFFFF#000000##FFFFFF
##317C8B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788C
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #317c8b;
/* rgb */ color: rgb(49, 124, 139);
/* oklch */ color: oklch(54.6% 0.076 213.1);
Tailwind
colors: {
  custom: {
    50: '#74a2ac',
    500: '#317c8b',
    950: '#000000',
  },
}
SCSS
$custom: #317c8b;
$custom-light: #74a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317c8b",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 190,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.07631,
    "h": 213.1
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#317C8B
secondary
#B27265
accent
#6750D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #317C8B

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

Preview Lab → · Contrast checker → · Palette generator →

#317C8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva