#317D9F#317D9F

#317D9F is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.090 H 230.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#317D9F
RGBrgb(49, 125, 159)
HSLhsl(199, 53%, 41%)
HSVhsv(199, 69%, 62%)
CMYKcmyk(69.2%, 21.4%, 0%, 37.6%)
CIE-LABlab(49.28, -12.04, -25.04)
CIE-LCHlch(49.28, 27.79, 244.31°)
OKLaboklab(55.76% -0.057 -0.0702)
OKLCHoklch(55.76% 0.09 230.9)
XYZxyz(14.8558, 17.8218, 35.4512)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D9F #9F5331
analogous
#319F8A #317D9F #31469F
triadic
#317D9F #9F317D #7D9F31
tetradic
#317D9F #8A319F #9F5331 #469F31
square
#317D9F #8A319F #9F5331 #469F31
split-complementary
#317D9F #9F3146 #9F8A31
monochromatic
#143341 #235870 #317D9F #479FC6 #76B7D5

Accessibility & contrast

On white

4.60
#317D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#317D9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317D9F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D9F#FFFFFF#000000##FFFFFF
##317D9F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7BA1
Deuteranopia (green-blind)
#5D709F
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317d9f;
/* rgb */ color: rgb(49, 125, 159);
/* oklch */ color: oklch(55.8% 0.090 230.9);
Tailwind
colors: {
  custom: {
    50: '#77a2bb',
    500: '#317d9f',
    950: '#000000',
  },
}
SCSS
$custom: #317d9f;
$custom-light: #77a2bb;
$custom-dark: #000000;
JSON
{
  "hex": "#317d9f",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 159
  },
  "hsl": {
    "h": 198.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.09043,
    "h": 230.9
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#317D9F
secondary
#BD876F
accent
#784CDC
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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