#317ECA#317ECA

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

Color values

HEX#317ECA
RGBrgb(49, 126, 202)
HSLhsl(210, 61%, 49%)
HSVhsv(210, 76%, 79%)
CMYKcmyk(75.7%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.65, 2.71, -46.11)
CIE-LCHlch(51.65, 46.19, 273.36°)
OKLaboklab(58.31% -0.0446 -0.1314)
OKLCHoklch(58.31% 0.139 251.3)
XYZxyz(19.3841, 19.8367, 58.6729)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317ECA #CA7D31
analogous
#31CACA #317ECA #3132CA
triadic
#317ECA #CA317E #7ECA31
tetradic
#317ECA #CA31CA #CA7D31 #32CA31
square
#317ECA #CA31CA #CA7D31 #32CA31
split-complementary
#317ECA #CA3132 #CACA31
monochromatic
#194167 #255F99 #317ECA #609CD8 #91BBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317ECA#FFFFFF#000000##000000
##317ECA1.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)
#5A83CD
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317eca;
/* rgb */ color: rgb(49, 126, 202);
/* oklch */ color: oklch(58.3% 0.139 251.3);
Tailwind
colors: {
  custom: {
    50: '#7ea2da',
    500: '#317eca',
    950: '#000000',
  },
}
SCSS
$custom: #317eca;
$custom-light: #7ea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#317eca",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 209.804,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58314,
    "c": 0.13878,
    "h": 251.3
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#317ECA
secondary
#CFAB88
accent
#9344E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #317ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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