#317DB5#317DB5

#317DB5 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.114 H 244.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#317DB5
RGBrgb(49, 125, 181)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 73%, 71%)
CMYKcmyk(72.9%, 30.9%, 0%, 29%)
CIE-LABlab(50.28, -4.32, -36.24)
CIE-LCHlch(50.28, 36.50, 263.20°)
OKLaboklab(56.88% -0.0495 -0.1026)
OKLCHoklch(56.88% 0.114 244.2)
XYZxyz(16.9375, 18.6545, 46.4151)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB5 #B56931
analogous
#31B5AB #317DB5 #313BB5
triadic
#317DB5 #B5317D #7DB531
tetradic
#317DB5 #AB31B5 #B56931 #3BB531
square
#317DB5 #AB31B5 #B56931 #3BB531
split-complementary
#317DB5 #B5313B #B5AB31
monochromatic
#173A55 #245C85 #317DB5 #539BD0 #83B7DD

Accessibility & contrast

On white

4.44
#317DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#317DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DB5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DB5#FFFFFF#000000##000000
##317DB51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FB7
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317db5;
/* rgb */ color: rgb(49, 125, 181);
/* oklch */ color: oklch(56.9% 0.114 244.2);
Tailwind
colors: {
  custom: {
    50: '#7aa2cb',
    500: '#317db5',
    950: '#000000',
  },
}
SCSS
$custom: #317db5;
$custom-light: #7aa2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#317db5",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 205.455,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.11393,
    "h": 244.2
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#317DB5
secondary
#C79B7B
accent
#8847E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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