#317AC8#317AC8

#317AC8 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.3% C 0.140 H 252.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#317AC8
RGBrgb(49, 122, 200)
HSLhsl(211, 61%, 49%)
HSVhsv(211, 76%, 78%)
CMYKcmyk(75.5%, 39%, 0%, 21.6%)
CIE-LABlab(50.38, 4.41, -46.99)
CIE-LCHlch(50.38, 47.20, 275.36°)
OKLaboklab(57.29% -0.0415 -0.1341)
OKLCHoklch(57.29% 0.14 252.8)
XYZxyz(18.6476, 18.7400, 57.2668)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AC8 #C87F31
analogous
#31C6C8 #317AC8 #3331C8
triadic
#317AC8 #C8317A #7AC831
tetradic
#317AC8 #C831C6 #C87F31 #31C833
square
#317AC8 #C831C6 #C87F31 #31C833
split-complementary
#317AC8 #C83331 #C6C831
monochromatic
#193E66 #255C97 #317AC8 #5F99D8 #90B8E4

Accessibility & contrast

On white

4.42
#317AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#317AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AC8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AC8#FFFFFF#000000##000000
##317AC81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#3D72C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317ac8;
/* rgb */ color: rgb(49, 122, 200);
/* oklch */ color: oklch(57.3% 0.140 252.8);
Tailwind
colors: {
  custom: {
    50: '#7ea0d9',
    500: '#317ac8',
    950: '#000000',
  },
}
SCSS
$custom: #317ac8;
$custom-light: #7ea0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#317ac8",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 210.993,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.14035,
    "h": 252.8
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#317AC8
secondary
#CEAC86
accent
#9744E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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