#317AB6#317AB6

#317AB6 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.118 H 246.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#317AB6
RGBrgb(49, 122, 182)
HSLhsl(207, 58%, 45%)
HSVhsv(207, 73%, 71%)
CMYKcmyk(73.1%, 33%, 0%, 28.6%)
CIE-LABlab(49.43, -2.18, -38.16)
CIE-LCHlch(49.43, 38.22, 266.73°)
OKLaboklab(56.23% -0.0463 -0.1082)
OKLCHoklch(56.23% 0.118 246.9)
XYZxyz(16.6664, 17.9476, 46.8328)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB6 #B66D31
analogous
#31B6B0 #317AB6 #3137B6
triadic
#317AB6 #B6317A #7AB631
tetradic
#317AB6 #B031B6 #B66D31 #37B631
square
#317AB6 #B031B6 #B66D31 #37B631
split-complementary
#317AB6 #B63137 #B6B031
monochromatic
#173956 #245A86 #317AB6 #5398D1 #84B5DE

Accessibility & contrast

On white

4.58
#317AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#317AB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AB6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AB6#FFFFFF#000000##000000
##317AB61.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB9
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ab6;
/* rgb */ color: rgb(49, 122, 182);
/* oklch */ color: oklch(56.2% 0.118 246.9);
Tailwind
colors: {
  custom: {
    50: '#7aa0cc',
    500: '#317ab6',
    950: '#000000',
  },
}
SCSS
$custom: #317ab6;
$custom-light: #7aa0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab6",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 182
  },
  "hsl": {
    "h": 207.068,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.11771,
    "h": 246.9
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#317AB6
secondary
#C79E7C
accent
#8C47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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