#317FC4#317FC4

#317FC4 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.130 H 248.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#317FC4
RGBrgb(49, 127, 196)
HSLhsl(208, 60%, 48%)
HSVhsv(208, 75%, 77%)
CMYKcmyk(75%, 35.2%, 0%, 23.1%)
CIE-LABlab(51.63, -0.09, -42.73)
CIE-LCHlch(51.63, 42.73, 269.88°)
OKLaboklab(58.19% -0.0471 -0.1215)
OKLCHoklch(58.19% 0.13 248.8)
XYZxyz(18.8160, 19.8151, 55.0469)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FC4 #C47631
analogous
#31C4BF #317FC4 #3136C4
triadic
#317FC4 #C4317F #7FC431
tetradic
#317FC4 #BF31C4 #C47631 #36C431
square
#317FC4 #BF31C4 #C47631 #36C431
split-complementary
#317FC4 #C43136 #C4BF31
monochromatic
#194062 #255F93 #317FC4 #5C9DD6 #8DBAE2

Accessibility & contrast

On white

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

On black

4.96
#317FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FC4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FC4#FFFFFF#000000##000000
##317FC41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C7
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317fc4;
/* rgb */ color: rgb(49, 127, 196);
/* oklch */ color: oklch(58.2% 0.130 248.8);
Tailwind
colors: {
  custom: {
    50: '#7da3d6',
    500: '#317fc4',
    950: '#000000',
  },
}
SCSS
$custom: #317fc4;
$custom-light: #7da3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#317fc4",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 208.163,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58191,
    "c": 0.1303,
    "h": 248.8
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#317FC4
secondary
#CDA684
accent
#8F45E3
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #317FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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