#317B8A#317B8A

#317B8A is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.3% C 0.076 H 213.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#317B8A
RGBrgb(49, 123, 138)
HSLhsl(190, 48%, 37%)
HSVhsv(190, 64%, 54%)
CMYKcmyk(64.5%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.82, -17.90, -14.95)
CIE-LCHlch(47.82, 23.32, 219.88°)
OKLaboklab(54.32% -0.0632 -0.0415)
OKLCHoklch(54.32% 0.076 213.3)
XYZxyz(12.9351, 16.6525, 26.5724)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B8A #8A4031
analogous
#318A6D #317B8A #314F8A
triadic
#317B8A #8A317B #7B8A31
tetradic
#317B8A #6D318A #8A4031 #4F8A31
square
#317B8A #6D318A #8A4031 #4F8A31
split-complementary
#317B8A #8A314F #8A6D31
monochromatic
#112A30 #21535D #317B8A #41A3B7 #6BBACA

Accessibility & contrast

On white

4.85
#317B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#317B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B8A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B8A#FFFFFF#000000##FFFFFF
##317B8A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317b8a;
/* rgb */ color: rgb(49, 123, 138);
/* oklch */ color: oklch(54.3% 0.076 213.3);
Tailwind
colors: {
  custom: {
    50: '#74a1ac',
    500: '#317b8a',
    950: '#000000',
  },
}
SCSS
$custom: #317b8a;
$custom-light: #74a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317b8a",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 190.112,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.07565,
    "h": 213.3
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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