#317E9D#317E9D

#317E9D is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.088 H 228.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#317E9D
RGBrgb(49, 126, 157)
HSLhsl(197, 52%, 40%)
HSVhsv(197, 69%, 62%)
CMYKcmyk(68.8%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.51, -13.29, -23.52)
CIE-LCHlch(49.51, 27.02, 240.54°)
OKLaboklab(55.91% -0.0588 -0.0659)
OKLCHoklch(55.91% 0.088 228.2)
XYZxyz(14.8108, 18.0074, 34.5870)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E9D #9D5031
analogous
#319D86 #317E9D #31489D
triadic
#317E9D #9D317E #7E9D31
tetradic
#317E9D #86319D #9D5031 #489D31
square
#317E9D #86319D #9D5031 #489D31
split-complementary
#317E9D #9D3148 #9D8631
monochromatic
#143340 #22596E #317E9D #46A1C5 #75B8D4

Accessibility & contrast

On white

4.56
#317E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#317E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317E9D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E9D#FFFFFF#000000##000000
##317E9D1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317e9d;
/* rgb */ color: rgb(49, 126, 157);
/* oklch */ color: oklch(55.9% 0.088 228.2);
Tailwind
colors: {
  custom: {
    50: '#76a3ba',
    500: '#317e9d',
    950: '#000000',
  },
}
SCSS
$custom: #317e9d;
$custom-light: #76a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#317e9d",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 197.222,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.0883,
    "h": 228.2
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#317E9D
secondary
#BC846E
accent
#754CDC
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #317E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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