#317F9B#317F9B

#317F9B is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.086 H 225.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317F9B
RGBrgb(49, 127, 155)
HSLhsl(196, 52%, 40%)
HSVhsv(196, 68%, 61%)
CMYKcmyk(68.4%, 18.1%, 0%, 39.2%)
CIE-LABlab(49.73, -14.52, -22.00)
CIE-LCHlch(49.73, 26.36, 236.57°)
OKLaboklab(56.07% -0.0607 -0.0615)
OKLCHoklch(56.07% 0.086 225.4)
XYZxyz(14.7700, 18.1967, 33.7379)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F9B #9B4D31
analogous
#319B82 #317F9B #314A9B
triadic
#317F9B #9B317F #7F9B31
tetradic
#317F9B #82319B #9B4D31 #4A9B31
square
#317F9B #82319B #9B4D31 #4A9B31
split-complementary
#317F9B #9B314A #9B8231
monochromatic
#14333E #22596D #317F9B #45A3C4 #73BAD3

Accessibility & contrast

On white

4.53
#317F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#317F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317F9B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F9B#FFFFFF#000000##000000
##317F9B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C9C
Deuteranopia (green-blind)
#61729B
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317f9b;
/* rgb */ color: rgb(49, 127, 155);
/* oklch */ color: oklch(56.1% 0.086 225.4);
Tailwind
colors: {
  custom: {
    50: '#76a4b8',
    500: '#317f9b',
    950: '#000000',
  },
}
SCSS
$custom: #317f9b;
$custom-light: #76a4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#317f9b",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 155
  },
  "hsl": {
    "h": 195.849,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.08639,
    "h": 225.4
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#317F9B
secondary
#BB826D
accent
#724CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #317F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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