#317EA7#317EA7

#317EA7 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.098 H 235.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#317EA7
RGBrgb(49, 126, 167)
HSLhsl(201, 55%, 42%)
HSVhsv(201, 71%, 65%)
CMYKcmyk(70.7%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.93, -9.86, -28.68)
CIE-LCHlch(49.93, 30.33, 251.04°)
OKLaboklab(56.4% -0.0551 -0.0807)
OKLCHoklch(56.4% 0.098 235.6)
XYZxyz(15.6998, 18.3630, 39.2687)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA7 #A75A31
analogous
#31A795 #317EA7 #3143A7
triadic
#317EA7 #A7317E #7EA731
tetradic
#317EA7 #9531A7 #A75A31 #43A731
square
#317EA7 #9531A7 #A75A31 #43A731
split-complementary
#317EA7 #A73143 #A79531
monochromatic
#153748 #235A78 #317EA7 #4B9ECA #7AB8D8

Accessibility & contrast

On white

4.49
#317EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#317EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EA7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EA7#FFFFFF#000000##000000
##317EA71.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5A72A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ea7;
/* rgb */ color: rgb(49, 126, 167);
/* oklch */ color: oklch(56.4% 0.098 235.6);
Tailwind
colors: {
  custom: {
    50: '#78a3c1',
    500: '#317ea7',
    950: '#000000',
  },
}
SCSS
$custom: #317ea7;
$custom-light: #78a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea7",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 200.847,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.09772,
    "h": 235.6
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#317EA7
secondary
#C18E73
accent
#7D4ADE
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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