#317DB6#317DB6

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

Color values

HEX#317DB6
RGBrgb(49, 125, 182)
HSLhsl(206, 58%, 45%)
HSVhsv(206, 73%, 71%)
CMYKcmyk(73.1%, 31.3%, 0%, 28.6%)
CIE-LABlab(50.33, -3.97, -36.74)
CIE-LCHlch(50.33, 36.96, 263.84°)
OKLaboklab(56.94% -0.0492 -0.1041)
OKLCHoklch(56.94% 0.115 244.7)
XYZxyz(17.0405, 18.6957, 46.9574)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB6 #B66A31
analogous
#31B6AC #317DB6 #313BB6
triadic
#317DB6 #B6317D #7DB631
tetradic
#317DB6 #AC31B6 #B66A31 #3BB631
square
#317DB6 #AC31B6 #B66A31 #3BB631
split-complementary
#317DB6 #B6313B #B6AC31
monochromatic
#173B56 #245C86 #317DB6 #539BD1 #84B7DE

Accessibility & contrast

On white

4.43
#317DB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#317DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DB6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DB6#FFFFFF#000000##000000
##317DB61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FB8
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317db6;
/* rgb */ color: rgb(49, 125, 182);
/* oklch */ color: oklch(56.9% 0.115 244.7);
Tailwind
colors: {
  custom: {
    50: '#7aa2cc',
    500: '#317db6',
    950: '#000000',
  },
}
SCSS
$custom: #317db6;
$custom-light: #7aa2cc;
$custom-dark: #000000;
JSON
{
  "hex": "#317db6",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 182
  },
  "hsl": {
    "h": 205.714,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.11511,
    "h": 244.7
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#317DB6
secondary
#C79C7C
accent
#8947E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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