#317EA5#317EA5

#317EA5 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.096 H 234.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#317EA5
RGBrgb(49, 126, 165)
HSLhsl(200, 54%, 42%)
HSVhsv(200, 70%, 65%)
CMYKcmyk(70.3%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.85, -10.55, -27.66)
CIE-LCHlch(49.85, 29.60, 249.12°)
OKLaboklab(56.3% -0.0558 -0.0777)
OKLCHoklch(56.3% 0.096 234.3)
XYZxyz(15.5163, 18.2896, 38.3025)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA5 #A55831
analogous
#31A592 #317EA5 #3144A5
triadic
#317EA5 #A5317E #7EA531
tetradic
#317EA5 #9231A5 #A55831 #44A531
square
#317EA5 #9231A5 #A55831 #44A531
split-complementary
#317EA5 #A53144 #A59231
monochromatic
#153647 #235A76 #317EA5 #4A9EC9 #79B8D7

Accessibility & contrast

On white

4.51
#317EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#317EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EA5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EA5#FFFFFF#000000##000000
##317EA51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA7
Deuteranopia (green-blind)
#5B72A4
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ea5;
/* rgb */ color: rgb(49, 126, 165);
/* oklch */ color: oklch(56.3% 0.096 234.3);
Tailwind
colors: {
  custom: {
    50: '#78a3c0',
    500: '#317ea5',
    950: '#000000',
  },
}
SCSS
$custom: #317ea5;
$custom-light: #78a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea5",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 200.172,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.09571,
    "h": 234.3
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#317EA5
secondary
#C08C72
accent
#7C4ADE
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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