#317EA6#317EA6

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

Color values

HEX#317EA6
RGBrgb(49, 126, 166)
HSLhsl(201, 54%, 42%)
HSVhsv(201, 70%, 65%)
CMYKcmyk(70.5%, 24.1%, 0%, 34.9%)
CIE-LABlab(49.89, -10.20, -28.17)
CIE-LCHlch(49.89, 29.96, 250.09°)
OKLaboklab(56.35% -0.0555 -0.0792)
OKLCHoklch(56.35% 0.097 235)
XYZxyz(15.6077, 18.3261, 38.7837)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA6 #A65931
analogous
#31A694 #317EA6 #3143A6
triadic
#317EA6 #A6317E #7EA631
tetradic
#317EA6 #9431A6 #A65931 #43A631
square
#317EA6 #9431A6 #A65931 #43A631
split-complementary
#317EA6 #A63143 #A69431
monochromatic
#153647 #235A77 #317EA6 #4A9ECA #7AB8D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317EA6#FFFFFF#000000##000000
##317EA61.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)
#6B7DA8
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ea6;
/* rgb */ color: rgb(49, 126, 166);
/* oklch */ color: oklch(56.3% 0.097 235.0);
Tailwind
colors: {
  custom: {
    50: '#78a3c0',
    500: '#317ea6',
    950: '#000000',
  },
}
SCSS
$custom: #317ea6;
$custom-light: #78a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea6",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 200.513,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.0967,
    "h": 235
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#317EA6
secondary
#C08D73
accent
#7D4ADE
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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