#317DE2#317DE2

#317DE2 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.6% C 0.171 H 256.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#317DE2
RGBrgb(49, 125, 226)
HSLhsl(214, 75%, 54%)
HSVhsv(214, 78%, 89%)
CMYKcmyk(78.3%, 44.7%, 0%, 11.4%)
CIE-LABlab(52.74, 12.20, -57.94)
CIE-LCHlch(52.74, 59.21, 281.89°)
OKLaboklab(59.6% -0.0386 -0.1662)
OKLCHoklch(59.6% 0.171 256.9)
XYZxyz(22.3226, 20.8085, 74.7767)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DE2 #E29631
analogous
#31D6E2 #317DE2 #3E31E2
triadic
#317DE2 #E2317D #7DE231
tetradic
#317DE2 #E231D6 #E29631 #31E23E
square
#317DE2 #E231D6 #E29631 #31E23E
split-complementary
#317DE2 #E23E31 #D6E231
monochromatic
#134486 #1A60BB #317DE2 #679FEA #9CC1F1

Accessibility & contrast

On white

4.07
#317DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#317DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DE2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DE2#FFFFFF#000000##000000
##317DE21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#2076E0
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #317de2;
/* rgb */ color: rgb(49, 125, 226);
/* oklch */ color: oklch(59.6% 0.171 256.9);
Tailwind
colors: {
  custom: {
    50: '#83a2ec',
    500: '#317de2',
    950: '#000000',
  },
}
SCSS
$custom: #317de2;
$custom-light: #83a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#317de2",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 214.237,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.17061,
    "h": 256.9
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#317DE2
secondary
#DDBD92
accent
#A136F2
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #317DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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