#317FA6#317FA6

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

Color values

HEX#317FA6
RGBrgb(49, 127, 166)
HSLhsl(200, 54%, 42%)
HSVhsv(200, 70%, 65%)
CMYKcmyk(70.5%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.20, -10.78, -27.69)
CIE-LCHlch(50.20, 29.72, 248.74°)
OKLaboklab(56.59% -0.0565 -0.0778)
OKLCHoklch(56.59% 0.096 234)
XYZxyz(15.7362, 18.5831, 38.8266)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA6 #A65831
analogous
#31A693 #317FA6 #3144A6
triadic
#317FA6 #A6317F #7FA631
tetradic
#317FA6 #9331A6 #A65831 #44A631
square
#317FA6 #9331A6 #A65831 #44A631
split-complementary
#317FA6 #A63144 #A69331
monochromatic
#153747 #235B77 #317FA6 #4A9FCA #7AB8D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317FA6#FFFFFF#000000##000000
##317FA61.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)
#6C7EA8
Deuteranopia (green-blind)
#5C72A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317fa6;
/* rgb */ color: rgb(49, 127, 166);
/* oklch */ color: oklch(56.6% 0.096 234.0);
Tailwind
colors: {
  custom: {
    50: '#78a4c0',
    500: '#317fa6',
    950: '#000000',
  },
}
SCSS
$custom: #317fa6;
$custom-light: #78a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa6",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 200,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.09619,
    "h": 234
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#317FA6
secondary
#C08C73
accent
#7B4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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