#317FE2#317FE2

#317FE2 is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 60.0% C 0.168 H 256.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#317FE2
RGBrgb(49, 127, 226)
HSLhsl(214, 75%, 54%)
HSVhsv(214, 78%, 89%)
CMYKcmyk(78.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(53.30, 10.96, -57.04)
CIE-LCHlch(53.30, 58.09, 280.88°)
OKLaboklab(60.04% -0.0401 -0.1635)
OKLCHoklch(60.04% 0.168 256.2)
XYZxyz(22.5784, 21.3200, 74.8620)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FE2 #E29431
analogous
#31D8E2 #317FE2 #3C31E2
triadic
#317FE2 #E2317F #7FE231
tetradic
#317FE2 #E231D8 #E29431 #31E23C
square
#317FE2 #E231D8 #E29431 #31E23C
split-complementary
#317FE2 #E23C31 #D8E231
monochromatic
#134586 #1A61BB #317FE2 #67A0EA #9CC2F1

Accessibility & contrast

On white

3.99
#317FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#317FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FE2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FE2#FFFFFF#000000##000000
##317FE21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #317fe2;
/* rgb */ color: rgb(49, 127, 226);
/* oklch */ color: oklch(60.0% 0.168 256.2);
Tailwind
colors: {
  custom: {
    50: '#83a3ec',
    500: '#317fe2',
    950: '#000000',
  },
}
SCSS
$custom: #317fe2;
$custom-light: #83a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#317fe2",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 213.559,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.16838,
    "h": 256.2
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#317FE2
secondary
#DDBC92
accent
#9F36F2
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0F16
muted
#7D7E84

Preview Lab

Preview with #317FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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