#317F9F#317F9F

#317F9F is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.090 H 228.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#317F9F
RGBrgb(49, 127, 159)
HSLhsl(197, 53%, 41%)
HSVhsv(197, 69%, 62%)
CMYKcmyk(69.2%, 20.1%, 0%, 37.6%)
CIE-LABlab(49.90, -13.17, -24.08)
CIE-LCHlch(49.90, 27.45, 241.32°)
OKLaboklab(56.25% -0.0591 -0.0674)
OKLCHoklch(56.25% 0.09 228.8)
XYZxyz(15.1115, 18.3333, 35.5364)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F9F #9F5131
analogous
#319F88 #317F9F #31489F
triadic
#317F9F #9F317F #7F9F31
tetradic
#317F9F #88319F #9F5131 #489F31
square
#317F9F #88319F #9F5131 #489F31
split-complementary
#317F9F #9F3148 #9F8831
monochromatic
#143441 #235A70 #317F9F #47A1C6 #76B9D5

Accessibility & contrast

On white

4.50
#317F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#317F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317F9F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F9F#FFFFFF#000000##000000
##317F9F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA1
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317f9f;
/* rgb */ color: rgb(49, 127, 159);
/* oklch */ color: oklch(56.3% 0.090 228.8);
Tailwind
colors: {
  custom: {
    50: '#77a4bb',
    500: '#317f9f',
    950: '#000000',
  },
}
SCSS
$custom: #317f9f;
$custom-light: #77a4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#317f9f",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 197.455,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.08969,
    "h": 228.8
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

primary
#317F9F
secondary
#BD866F
accent
#764CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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