#317FAA#317FAA

#317FAA is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.100 H 236.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#317FAA
RGBrgb(49, 127, 170)
HSLhsl(201, 55%, 43%)
HSVhsv(201, 71%, 67%)
CMYKcmyk(71.2%, 25.3%, 0%, 33.3%)
CIE-LABlab(50.37, -9.39, -29.74)
CIE-LCHlch(50.37, 31.19, 252.48°)
OKLaboklab(56.79% -0.0551 -0.0837)
OKLCHoklch(56.79% 0.1 236.6)
XYZxyz(16.1088, 18.7322, 40.7891)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FAA #AA5C31
analogous
#31AA98 #317FAA #3143AA
triadic
#317FAA #AA317F #7FAA31
tetradic
#317FAA #9831AA #AA5C31 #43AA31
square
#317FAA #9831AA #AA5C31 #43AA31
split-complementary
#317FAA #AA3143 #AA9831
monochromatic
#16384B #235C7A #317FAA #4D9ECC #7CB8D9

Accessibility & contrast

On white

4.42
#317FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#317FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FAA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FAA#FFFFFF#000000##000000
##317FAA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAC
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317faa;
/* rgb */ color: rgb(49, 127, 170);
/* oklch */ color: oklch(56.8% 0.100 236.6);
Tailwind
colors: {
  custom: {
    50: '#78a4c3',
    500: '#317faa',
    950: '#000000',
  },
}
SCSS
$custom: #317faa;
$custom-light: #78a4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#317faa",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 201.322,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.10024,
    "h": 236.6
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#317FAA
secondary
#C29075
accent
#7E49DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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