#317FCF#317FCF

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

Color values

HEX#317FCF
RGBrgb(49, 127, 207)
HSLhsl(210, 62%, 50%)
HSVhsv(210, 76%, 81%)
CMYKcmyk(76.3%, 38.6%, 0%, 18.8%)
CIE-LABlab(52.21, 3.94, -48.06)
CIE-LCHlch(52.21, 48.22, 274.68°)
OKLaboklab(58.84% -0.0442 -0.1371)
OKLCHoklch(58.84% 0.144 252.1)
XYZxyz(20.1142, 20.3344, 61.8842)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FCF #CF8131
analogous
#31CECF #317FCF #3231CF
triadic
#317FCF #CF317F #7FCF31
tetradic
#317FCF #CF31CE #CF8131 #31CF32
square
#317FCF #CF31CE #CF8131 #31CF32
split-complementary
#317FCF #CF3231 #CECF31
monochromatic
#19426C #25619E #317FCF #639EDB #94BDE6

Accessibility & contrast

On white

4.14
#317FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#317FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FCF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FCF#FFFFFF#000000##000000
##317FCF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #317fcf;
/* rgb */ color: rgb(49, 127, 207);
/* oklch */ color: oklch(58.8% 0.144 252.1);
Tailwind
colors: {
  custom: {
    50: '#7fa3de',
    500: '#317fcf',
    950: '#000000',
  },
}
SCSS
$custom: #317fcf;
$custom-light: #7fa3de;
$custom-dark: #000000;
JSON
{
  "hex": "#317fcf",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 210.38,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.14409,
    "h": 252.1
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#317FCF
secondary
#D1AE8B
accent
#9543E5
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #317FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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