#317DCF#317DCF

#317DCF is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.4% C 0.146 H 253.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#317DCF
RGBrgb(49, 125, 207)
HSLhsl(211, 62%, 50%)
HSVhsv(211, 76%, 81%)
CMYKcmyk(76.3%, 39.6%, 0%, 18.8%)
CIE-LABlab(51.64, 5.16, -48.98)
CIE-LCHlch(51.64, 49.25, 276.01°)
OKLaboklab(58.39% -0.0425 -0.1399)
OKLCHoklch(58.39% 0.146 253.1)
XYZxyz(19.8585, 19.8229, 61.7990)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DCF #CF8331
analogous
#31CCCF #317DCF #3431CF
triadic
#317DCF #CF317D #7DCF31
tetradic
#317DCF #CF31CC #CF8331 #31CF34
square
#317DCF #CF31CC #CF8331 #31CF34
split-complementary
#317DCF #CF3431 #CCCF31
monochromatic
#19416C #255F9E #317DCF #639CDB #94BCE6

Accessibility & contrast

On white

4.23
#317DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#317DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DCF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DCF#FFFFFF#000000##000000
##317DCF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317dcf;
/* rgb */ color: rgb(49, 125, 207);
/* oklch */ color: oklch(58.4% 0.146 253.1);
Tailwind
colors: {
  custom: {
    50: '#7fa2de',
    500: '#317dcf',
    950: '#000000',
  },
}
SCSS
$custom: #317dcf;
$custom-light: #7fa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#317dcf",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 211.139,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.14617,
    "h": 253.1
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#317DCF
secondary
#D1AF8B
accent
#9743E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #317DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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