#317CC9#317CC9

#317CC9 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.140 H 252.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#317CC9
RGBrgb(49, 124, 201)
HSLhsl(210, 61%, 49%)
HSVhsv(210, 76%, 79%)
CMYKcmyk(75.6%, 38.3%, 0%, 21.2%)
CIE-LABlab(51.02, 3.55, -46.55)
CIE-LCHlch(51.02, 46.68, 274.37°)
OKLaboklab(57.8% -0.043 -0.1327)
OKLCHoklch(57.8% 0.14 252)
XYZxyz(19.0129, 19.2831, 57.9670)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CC9 #C97E31
analogous
#31C8C9 #317CC9 #3231C9
triadic
#317CC9 #C9317C #7CC931
tetradic
#317CC9 #C931C8 #C97E31 #31C932
square
#317CC9 #C931C8 #C97E31 #31C932
split-complementary
#317CC9 #C93231 #C8C931
monochromatic
#193F67 #255E98 #317CC9 #5F9BD8 #90BAE4

Accessibility & contrast

On white

4.32
#317CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#317CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CC9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CC9#FFFFFF#000000##000000
##317CC91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317cc9;
/* rgb */ color: rgb(49, 124, 201);
/* oklch */ color: oklch(57.8% 0.140 252.0);
Tailwind
colors: {
  custom: {
    50: '#7ea1da',
    500: '#317cc9',
    950: '#000000',
  },
}
SCSS
$custom: #317cc9;
$custom-light: #7ea1da;
$custom-dark: #000000;
JSON
{
  "hex": "#317cc9",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 201
  },
  "hsl": {
    "h": 210.395,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.13955,
    "h": 252
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#317CC9
secondary
#CFAB87
accent
#9544E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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