#317AB8#317AB8

#317AB8 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.120 H 247.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317AB8
RGBrgb(49, 122, 184)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 73%, 72%)
CMYKcmyk(73.4%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.53, -1.45, -39.15)
CIE-LCHlch(49.53, 39.18, 267.87°)
OKLaboklab(56.34% -0.0457 -0.1111)
OKLCHoklch(56.34% 0.12 247.7)
XYZxyz(16.8746, 18.0308, 47.9291)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB8 #B86F31
analogous
#31B8B3 #317AB8 #3136B8
triadic
#317AB8 #B8317A #7AB831
tetradic
#317AB8 #B331B8 #B86F31 #36B831
square
#317AB8 #B331B8 #B86F31 #36B831
split-complementary
#317AB8 #B83136 #B8B331
monochromatic
#173A57 #245A88 #317AB8 #5598D2 #85B5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317AB8#FFFFFF#000000##000000
##317AB81.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)
#5E7DBB
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317ab8;
/* rgb */ color: rgb(49, 122, 184);
/* oklch */ color: oklch(56.3% 0.120 247.7);
Tailwind
colors: {
  custom: {
    50: '#7ba0cd',
    500: '#317ab8',
    950: '#000000',
  },
}
SCSS
$custom: #317ab8;
$custom-light: #7ba0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab8",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 207.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.12016,
    "h": 247.7
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#317AB8
secondary
#C89F7D
accent
#8E47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #317AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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