#317DA5#317DA5

#317DA5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.096 H 235.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317DA5
RGBrgb(49, 125, 165)
HSLhsl(201, 54%, 42%)
HSVhsv(201, 70%, 65%)
CMYKcmyk(70.3%, 24.2%, 0%, 35.3%)
CIE-LABlab(49.54, -9.98, -28.13)
CIE-LCHlch(49.54, 29.85, 250.48°)
OKLaboklab(56.05% -0.0548 -0.0791)
OKLCHoklch(56.05% 0.096 235.3)
XYZxyz(15.3891, 18.0351, 38.2601)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DA5 #A55931
analogous
#31A593 #317DA5 #3143A5
triadic
#317DA5 #A5317D #7DA531
tetradic
#317DA5 #9331A5 #A55931 #43A531
square
#317DA5 #9331A5 #A55931 #43A531
split-complementary
#317DA5 #A53143 #A59331
monochromatic
#153647 #235976 #317DA5 #4A9DC9 #79B7D7

Accessibility & contrast

On white

4.56
#317DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#317DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DA5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DA5#FFFFFF#000000##000000
##317DA51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA7
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317da5;
/* rgb */ color: rgb(49, 125, 165);
/* oklch */ color: oklch(56.1% 0.096 235.3);
Tailwind
colors: {
  custom: {
    50: '#78a2c0',
    500: '#317da5',
    950: '#000000',
  },
}
SCSS
$custom: #317da5;
$custom-light: #78a2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317da5",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 165
  },
  "hsl": {
    "h": 200.69,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.09624,
    "h": 235.3
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#317DA5
secondary
#C08D72
accent
#7D4ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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