#317FCA#317FCA

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

Color values

HEX#317FCA
RGBrgb(49, 127, 202)
HSLhsl(209, 61%, 49%)
HSVhsv(209, 76%, 79%)
CMYKcmyk(75.7%, 37.1%, 0%, 20.8%)
CIE-LABlab(51.94, 2.10, -45.65)
CIE-LCHlch(51.94, 45.70, 272.64°)
OKLaboklab(58.54% -0.0455 -0.1301)
OKLCHoklch(58.54% 0.138 250.7)
XYZxyz(19.5126, 20.0937, 58.7158)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FCA #CA7C31
analogous
#31CAC9 #317FCA #3132CA
triadic
#317FCA #CA317F #7FCA31
tetradic
#317FCA #C931CA #CA7C31 #32CA31
square
#317FCA #C931CA #CA7C31 #32CA31
split-complementary
#317FCA #CA3132 #CAC931
monochromatic
#194167 #256099 #317FCA #609DD8 #91BCE4

Accessibility & contrast

On white

4.18
#317FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317FCA#FFFFFF#000000##000000
##317FCA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#4575C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #317fca;
/* rgb */ color: rgb(49, 127, 202);
/* oklch */ color: oklch(58.5% 0.138 250.7);
Tailwind
colors: {
  custom: {
    50: '#7ea3da',
    500: '#317fca',
    950: '#000000',
  },
}
SCSS
$custom: #317fca;
$custom-light: #7ea3da;
$custom-dark: #000000;
JSON
{
  "hex": "#317fca",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 209.412,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.13778,
    "h": 250.7
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#317FCA
secondary
#CFAB88
accent
#9244E4
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #317FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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