#317BC9#317BC9

#317BC9 is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.6% C 0.141 H 252.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#317BC9
RGBrgb(49, 123, 201)
HSLhsl(211, 61%, 49%)
HSVhsv(211, 76%, 79%)
CMYKcmyk(75.6%, 38.8%, 0%, 21.2%)
CIE-LABlab(50.73, 4.16, -47.01)
CIE-LCHlch(50.73, 47.19, 275.06°)
OKLaboklab(57.57% -0.0421 -0.1341)
OKLCHoklch(57.57% 0.141 252.6)
XYZxyz(18.8882, 19.0337, 57.9254)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BC9 #C97F31
analogous
#31C7C9 #317BC9 #3331C9
triadic
#317BC9 #C9317B #7BC931
tetradic
#317BC9 #C931C7 #C97F31 #31C933
square
#317BC9 #C931C7 #C97F31 #31C933
split-complementary
#317BC9 #C93331 #C7C931
monochromatic
#193F67 #255D98 #317BC9 #5F9AD8 #90B9E4

Accessibility & contrast

On white

4.37
#317BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#317BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BC9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BC9#FFFFFF#000000##000000
##317BC91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CC
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317bc9;
/* rgb */ color: rgb(49, 123, 201);
/* oklch */ color: oklch(57.6% 0.141 252.6);
Tailwind
colors: {
  custom: {
    50: '#7ea0da',
    500: '#317bc9',
    950: '#000000',
  },
}
SCSS
$custom: #317bc9;
$custom-light: #7ea0da;
$custom-dark: #000000;
JSON
{
  "hex": "#317bc9",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 210.789,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.14059,
    "h": 252.6
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#317BC9
secondary
#CFAC87
accent
#9644E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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