#317C97#317C97

#317C97 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.1% C 0.084 H 225.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#317C97
RGBrgb(49, 124, 151)
HSLhsl(196, 51%, 39%)
HSVhsv(196, 68%, 59%)
CMYKcmyk(67.5%, 17.9%, 0%, 40.8%)
CIE-LABlab(48.64, -14.19, -21.35)
CIE-LCHlch(48.64, 25.63, 236.40°)
OKLaboklab(55.14% -0.059 -0.0596)
OKLCHoklch(55.14% 0.084 225.3)
XYZxyz(14.0579, 17.3011, 31.8707)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C97 #974C31
analogous
#31977F #317C97 #314997
triadic
#317C97 #97317C #7C9731
tetradic
#317C97 #7F3197 #974C31 #499731
square
#317C97 #7F3197 #974C31 #499731
split-complementary
#317C97 #973149 #977F31
monochromatic
#13303B #225669 #317C97 #43A0C2 #71B8D1

Accessibility & contrast

On white

4.71
#317C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#317C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C97
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C97#FFFFFF#000000##FFFFFF
##317C971.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7998
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317c97;
/* rgb */ color: rgb(49, 124, 151);
/* oklch */ color: oklch(55.1% 0.084 225.3);
Tailwind
colors: {
  custom: {
    50: '#75a2b5',
    500: '#317c97',
    950: '#000000',
  },
}
SCSS
$custom: #317c97;
$custom-light: #75a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317c97",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 151
  },
  "hsl": {
    "h": 195.882,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55137,
    "c": 0.08389,
    "h": 225.3
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317C97

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

Preview Lab → · Contrast checker → · Palette generator →

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