#317EAA#317EAA

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

Color values

HEX#317EAA
RGBrgb(49, 126, 170)
HSLhsl(202, 55%, 43%)
HSVhsv(202, 71%, 67%)
CMYKcmyk(71.2%, 25.9%, 0%, 33.3%)
CIE-LABlab(50.07, -8.81, -30.22)
CIE-LCHlch(50.07, 31.47, 253.75°)
OKLaboklab(56.55% -0.0541 -0.0851)
OKLCHoklch(56.55% 0.101 237.6)
XYZxyz(15.9803, 18.4752, 40.7463)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EAA #AA5D31
analogous
#31AA99 #317EAA #3142AA
triadic
#317EAA #AA317E #7EAA31
tetradic
#317EAA #9931AA #AA5D31 #42AA31
square
#317EAA #9931AA #AA5D31 #42AA31
split-complementary
#317EAA #AA3142 #AA9931
monochromatic
#16384B #235B7A #317EAA #4D9DCC #7CB7D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317EAA#FFFFFF#000000##000000
##317EAA1.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)
#697EAC
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317eaa;
/* rgb */ color: rgb(49, 126, 170);
/* oklch */ color: oklch(56.5% 0.101 237.6);
Tailwind
colors: {
  custom: {
    50: '#78a3c3',
    500: '#317eaa',
    950: '#000000',
  },
}
SCSS
$custom: #317eaa;
$custom-light: #78a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#317eaa",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 201.818,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.10084,
    "h": 237.6
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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