#317AA6#317AA6

#317AA6 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.099 H 238.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#317AA6
RGBrgb(49, 122, 166)
HSLhsl(203, 54%, 42%)
HSVhsv(203, 70%, 65%)
CMYKcmyk(70.5%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.67, -7.89, -30.08)
CIE-LCHlch(48.67, 31.09, 255.30°)
OKLaboklab(55.37% -0.0513 -0.0848)
OKLCHoklch(55.37% 0.099 238.8)
XYZxyz(15.1064, 17.3235, 38.6166)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AA6 #A65D31
analogous
#31A698 #317AA6 #3140A6
triadic
#317AA6 #A6317A #7AA631
tetradic
#317AA6 #9831A6 #A65D31 #40A631
square
#317AA6 #9831A6 #A65D31 #40A631
split-complementary
#317AA6 #A63140 #A69831
monochromatic
#153547 #235777 #317AA6 #4A9ACA #7AB4D8

Accessibility & contrast

On white

4.70
#317AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#317AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317AA6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AA6#FFFFFF#000000##FFFFFF
##317AA61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AA8
Deuteranopia (green-blind)
#556FA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317aa6;
/* rgb */ color: rgb(49, 122, 166);
/* oklch */ color: oklch(55.4% 0.099 238.8);
Tailwind
colors: {
  custom: {
    50: '#78a0c0',
    500: '#317aa6',
    950: '#000000',
  },
}
SCSS
$custom: #317aa6;
$custom-light: #78a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317aa6",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 202.564,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.09909,
    "h": 238.8
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#317AA6
secondary
#C09073
accent
#824ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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