#317B97#317B97

#317B97 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.9% C 0.084 H 226.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#317B97
RGBrgb(49, 123, 151)
HSLhsl(196, 51%, 39%)
HSVhsv(196, 68%, 59%)
CMYKcmyk(67.5%, 18.5%, 0%, 40.8%)
CIE-LABlab(48.33, -13.63, -21.83)
CIE-LCHlch(48.33, 25.73, 238.03°)
OKLaboklab(54.89% -0.0579 -0.061)
OKLCHoklch(54.89% 0.084 226.5)
XYZxyz(13.9333, 17.0518, 31.8292)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B97 #974D31
analogous
#319780 #317B97 #314897
triadic
#317B97 #97317B #7B9731
tetradic
#317B97 #803197 #974D31 #489731
square
#317B97 #803197 #974D31 #489731
split-complementary
#317B97 #973148 #978031
monochromatic
#13303B #225569 #317B97 #439FC2 #71B7D1

Accessibility & contrast

On white

4.76
#317B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#317B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B97
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B97#FFFFFF#000000##FFFFFF
##317B971.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7998
Deuteranopia (green-blind)
#5E6E97
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317b97;
/* rgb */ color: rgb(49, 123, 151);
/* oklch */ color: oklch(54.9% 0.084 226.5);
Tailwind
colors: {
  custom: {
    50: '#75a1b5',
    500: '#317b97',
    950: '#000000',
  },
}
SCSS
$custom: #317b97;
$custom-light: #75a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317b97",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 196.471,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.08412,
    "h": 226.5
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#317B97
secondary
#B9806B
accent
#744DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #317B97

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

Preview Lab → · Contrast checker → · Palette generator →

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