#317CCF#317CCF

#317CCF is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.147 H 253.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#317CCF
RGBrgb(49, 124, 207)
HSLhsl(212, 62%, 50%)
HSVhsv(212, 76%, 81%)
CMYKcmyk(76.3%, 40.1%, 0%, 18.8%)
CIE-LABlab(51.35, 5.77, -49.44)
CIE-LCHlch(51.35, 49.77, 276.65°)
OKLaboklab(58.17% -0.0416 -0.1412)
OKLCHoklch(58.17% 0.147 253.6)
XYZxyz(19.7326, 19.5710, 61.7570)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CCF #CF8431
analogous
#31CBCF #317CCF #3531CF
triadic
#317CCF #CF317C #7CCF31
tetradic
#317CCF #CF31CB #CF8431 #31CF35
square
#317CCF #CF31CB #CF8431 #31CF35
split-complementary
#317CCF #CF3531 #CBCF31
monochromatic
#19416C #255E9E #317CCF #639CDB #94BBE6

Accessibility & contrast

On white

4.27
#317CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#317CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CCF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CCF#FFFFFF#000000##000000
##317CCF1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#3A74CD
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317ccf;
/* rgb */ color: rgb(49, 124, 207);
/* oklch */ color: oklch(58.2% 0.147 253.6);
Tailwind
colors: {
  custom: {
    50: '#7fa1de',
    500: '#317ccf',
    950: '#000000',
  },
}
SCSS
$custom: #317ccf;
$custom-light: #7fa1de;
$custom-dark: #000000;
JSON
{
  "hex": "#317ccf",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 211.519,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.14723,
    "h": 253.6
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#317CCF
secondary
#D1B08B
accent
#9843E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #317CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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