#317EAB#317EAB

#317EAB is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.102 H 238.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#317EAB
RGBrgb(49, 126, 171)
HSLhsl(202, 55%, 43%)
HSVhsv(202, 71%, 67%)
CMYKcmyk(71.3%, 26.3%, 0%, 32.9%)
CIE-LABlab(50.11, -8.46, -30.72)
CIE-LCHlch(50.11, 31.87, 254.61°)
OKLaboklab(56.6% -0.0537 -0.0866)
OKLCHoklch(56.6% 0.102 238.2)
XYZxyz(16.0753, 18.5132, 41.2464)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EAB #AB5E31
analogous
#31AB9B #317EAB #3141AB
triadic
#317EAB #AB317E #7EAB31
tetradic
#317EAB #9B31AB #AB5E31 #41AB31
square
#317EAB #9B31AB #AB5E31 #41AB31
split-complementary
#317EAB #AB3141 #AB9B31
monochromatic
#16384C #235B7B #317EAB #4D9DCC #7DB7DA

Accessibility & contrast

On white

4.47
#317EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#317EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EAB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EAB#FFFFFF#000000##000000
##317EAB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317eab;
/* rgb */ color: rgb(49, 126, 171);
/* oklch */ color: oklch(56.6% 0.102 238.2);
Tailwind
colors: {
  custom: {
    50: '#79a3c4',
    500: '#317eab',
    950: '#000000',
  },
}
SCSS
$custom: #317eab;
$custom-light: #79a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#317eab",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 202.131,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.10191,
    "h": 238.2
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#317EAB
secondary
#C29275
accent
#8049DF
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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