#317FCE#317FCE

#317FCE is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.143 H 251.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#317FCE
RGBrgb(49, 127, 206)
HSLhsl(210, 62%, 50%)
HSVhsv(210, 76%, 81%)
CMYKcmyk(76.2%, 38.3%, 0%, 19.2%)
CIE-LABlab(52.16, 3.57, -47.58)
CIE-LCHlch(52.16, 47.71, 274.29°)
OKLaboklab(58.78% -0.0445 -0.1357)
OKLCHoklch(58.78% 0.143 251.9)
XYZxyz(19.9924, 20.2856, 61.2424)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FCE #CE8031
analogous
#31CECE #317FCE #3131CE
triadic
#317FCE #CE317F #7FCE31
tetradic
#317FCE #CE31CE #CE8031 #31CE31
square
#317FCE #CE31CE #CE8031 #31CE31
split-complementary
#317FCE #CE3131 #CECE31
monochromatic
#19426B #25619D #317FCE #629EDA #94BCE6

Accessibility & contrast

On white

4.15
#317FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#317FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FCE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FCE#FFFFFF#000000##000000
##317FCE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D1
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #317fce;
/* rgb */ color: rgb(49, 127, 206);
/* oklch */ color: oklch(58.8% 0.143 251.9);
Tailwind
colors: {
  custom: {
    50: '#7fa3dd',
    500: '#317fce',
    950: '#000000',
  },
}
SCSS
$custom: #317fce;
$custom-light: #7fa3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#317fce",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 210.191,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.14282,
    "h": 251.9
  },
  "luminance": 0.20288
}

Semantic roles & 50–950 ramp

primary
#317FCE
secondary
#D1AE8A
accent
#9443E5
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #317FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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