#317F97#317F97

#317F97 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 55.9% C 0.083 H 221.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317F97
RGBrgb(49, 127, 151)
HSLhsl(194, 51%, 39%)
HSVhsv(194, 68%, 59%)
CMYKcmyk(67.5%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.57, -15.85, -19.91)
CIE-LCHlch(49.57, 25.45, 231.47°)
OKLaboklab(55.89% -0.0623 -0.0555)
OKLCHoklch(55.89% 0.083 221.7)
XYZxyz(14.4396, 18.0645, 31.9980)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F97 #974931
analogous
#31977C #317F97 #314C97
triadic
#317F97 #97317F #7F9731
tetradic
#317F97 #7C3197 #974931 #4C9731
square
#317F97 #7C3197 #974931 #4C9731
split-complementary
#317F97 #97314C #977C31
monochromatic
#13313B #225869 #317F97 #43A4C2 #71BBD1

Accessibility & contrast

On white

4.55
#317F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#317F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317F97
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F97#FFFFFF#000000##000000
##317F971.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317f97;
/* rgb */ color: rgb(49, 127, 151);
/* oklch */ color: oklch(55.9% 0.083 221.7);
Tailwind
colors: {
  custom: {
    50: '#76a4b5',
    500: '#317f97',
    950: '#000000',
  },
}
SCSS
$custom: #317f97;
$custom-light: #76a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317f97",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 194.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.08343,
    "h": 221.7
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#317F97
secondary
#B97D6B
accent
#6F4DDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #317F97

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

Preview Lab → · Contrast checker → · Palette generator →

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