#317DAA#317DAA

#317DAA is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.3% C 0.101 H 238.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317DAA
RGBrgb(49, 125, 170)
HSLhsl(202, 55%, 43%)
HSVhsv(202, 71%, 67%)
CMYKcmyk(71.2%, 26.5%, 0%, 33.3%)
CIE-LABlab(49.76, -8.23, -30.69)
CIE-LCHlch(49.76, 31.78, 254.99°)
OKLaboklab(56.3% -0.0531 -0.0865)
OKLCHoklch(56.3% 0.101 238.5)
XYZxyz(15.8531, 18.2207, 40.7039)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DAA #AA5E31
analogous
#31AA9A #317DAA #3140AA
triadic
#317DAA #AA317D #7DAA31
tetradic
#317DAA #9A31AA #AA5E31 #40AA31
square
#317DAA #9A31AA #AA5E31 #40AA31
split-complementary
#317DAA #AA3140 #AA9A31
monochromatic
#16374B #235A7A #317DAA #4D9CCC #7CB7D9

Accessibility & contrast

On white

4.52
#317DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#317DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DAA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DAA#FFFFFF#000000##000000
##317DAA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAC
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317daa;
/* rgb */ color: rgb(49, 125, 170);
/* oklch */ color: oklch(56.3% 0.101 238.5);
Tailwind
colors: {
  custom: {
    50: '#78a2c3',
    500: '#317daa',
    950: '#000000',
  },
}
SCSS
$custom: #317daa;
$custom-light: #78a2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#317daa",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 170
  },
  "hsl": {
    "h": 202.314,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.10147,
    "h": 238.5
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#317DAA
secondary
#C29275
accent
#8149DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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