#317ECF#317ECF

#317ECF is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.145 H 252.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#317ECF
RGBrgb(49, 126, 207)
HSLhsl(211, 62%, 50%)
HSVhsv(211, 76%, 81%)
CMYKcmyk(76.3%, 39.1%, 0%, 18.8%)
CIE-LABlab(51.92, 4.55, -48.52)
CIE-LCHlch(51.92, 48.73, 275.35°)
OKLaboklab(58.61% -0.0434 -0.1385)
OKLCHoklch(58.61% 0.145 252.6)
XYZxyz(19.9857, 20.0773, 61.8414)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317ECF #CF8231
analogous
#31CDCF #317ECF #3331CF
triadic
#317ECF #CF317E #7ECF31
tetradic
#317ECF #CF31CD #CF8231 #31CF33
square
#317ECF #CF31CD #CF8231 #31CF33
split-complementary
#317ECF #CF3331 #CDCF31
monochromatic
#19426C #25609E #317ECF #639DDB #94BCE6

Accessibility & contrast

On white

4.19
#317ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#317ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317ECF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317ECF#FFFFFF#000000##000000
##317ECF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D2
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #317ecf;
/* rgb */ color: rgb(49, 126, 207);
/* oklch */ color: oklch(58.6% 0.145 252.6);
Tailwind
colors: {
  custom: {
    50: '#7fa2de',
    500: '#317ecf',
    950: '#000000',
  },
}
SCSS
$custom: #317ecf;
$custom-light: #7fa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#317ecf",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 210.759,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.14512,
    "h": 252.6
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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