#317FA7#317FA7

#317FA7 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.6% C 0.097 H 234.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317FA7
RGBrgb(49, 127, 167)
HSLhsl(200, 55%, 42%)
HSVhsv(200, 71%, 65%)
CMYKcmyk(70.7%, 24%, 0%, 34.5%)
CIE-LABlab(50.24, -10.43, -28.21)
CIE-LCHlch(50.24, 30.07, 249.71°)
OKLaboklab(56.64% -0.0562 -0.0793)
OKLCHoklch(56.64% 0.097 234.7)
XYZxyz(15.8283, 18.6200, 39.3115)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA7 #A75931
analogous
#31A794 #317FA7 #3144A7
triadic
#317FA7 #A7317F #7FA731
tetradic
#317FA7 #9431A7 #A75931 #44A731
square
#317FA7 #9431A7 #A75931 #44A731
split-complementary
#317FA7 #A73144 #A79431
monochromatic
#153748 #235B78 #317FA7 #4B9FCA #7AB8D8

Accessibility & contrast

On white

4.45
#317FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#317FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA7#FFFFFF#000000##000000
##317FA71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#5C72A6
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317fa7;
/* rgb */ color: rgb(49, 127, 167);
/* oklch */ color: oklch(56.6% 0.097 234.7);
Tailwind
colors: {
  custom: {
    50: '#78a4c1',
    500: '#317fa7',
    950: '#000000',
  },
}
SCSS
$custom: #317fa7;
$custom-light: #78a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa7",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 200.339,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.09718,
    "h": 234.7
  },
  "luminance": 0.18622
}

Semantic roles & 50–950 ramp

primary
#317FA7
secondary
#C18D73
accent
#7C4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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