#317DCA#317DCA

#317DCA is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.140 H 251.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#317DCA
RGBrgb(49, 125, 202)
HSLhsl(210, 61%, 49%)
HSVhsv(210, 76%, 79%)
CMYKcmyk(75.7%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.36, 3.31, -46.57)
CIE-LCHlch(51.36, 46.69, 274.07°)
OKLaboklab(58.09% -0.0437 -0.1328)
OKLCHoklch(58.09% 0.14 251.8)
XYZxyz(19.2569, 19.5822, 58.6305)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DCA #CA7E31
analogous
#31CACA #317DCA #3231CA
triadic
#317DCA #CA317D #7DCA31
tetradic
#317DCA #CA31CA #CA7E31 #31CA32
square
#317DCA #CA31CA #CA7E31 #31CA32
split-complementary
#317DCA #CA3231 #CACA31
monochromatic
#194067 #255F99 #317DCA #609CD8 #91BAE4

Accessibility & contrast

On white

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

On black

4.92
#317DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DCA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DCA#FFFFFF#000000##000000
##317DCA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317dca;
/* rgb */ color: rgb(49, 125, 202);
/* oklch */ color: oklch(58.1% 0.140 251.8);
Tailwind
colors: {
  custom: {
    50: '#7ea2da',
    500: '#317dca',
    950: '#000000',
  },
}
SCSS
$custom: #317dca;
$custom-light: #7ea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#317dca",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 210.196,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.1398,
    "h": 251.8
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#317DCA
secondary
#CFAC88
accent
#9444E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #317DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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