#317FD4#317FD4

#317FD4 is a mid, vivid cyan. Relative luminance 0.206; OKLCH L 59.1% C 0.150 H 253.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#317FD4
RGBrgb(49, 127, 212)
HSLhsl(211, 65%, 51%)
HSVhsv(211, 77%, 83%)
CMYKcmyk(76.9%, 40.1%, 0%, 16.9%)
CIE-LABlab(52.49, 5.78, -50.45)
CIE-LCHlch(52.49, 50.78, 276.54°)
OKLaboklab(59.15% -0.0431 -0.1441)
OKLCHoklch(59.15% 0.15 253.4)
XYZxyz(20.7352, 20.5827, 65.1546)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FD4 #D48631
analogous
#31D1D4 #317FD4 #3431D4
triadic
#317FD4 #D4317F #7FD431
tetradic
#317FD4 #D431D1 #D48631 #31D434
square
#317FD4 #D431D1 #D48631 #31D434
split-complementary
#317FD4 #D43431 #D1D431
monochromatic
#184373 #2361A5 #317FD4 #649EDF #96BEE9

Accessibility & contrast

On white

4.10
#317FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#317FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FD4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FD4#FFFFFF#000000##000000
##317FD41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #317fd4;
/* rgb */ color: rgb(49, 127, 212);
/* oklch */ color: oklch(59.1% 0.150 253.4);
Tailwind
colors: {
  custom: {
    50: '#80a3e2',
    500: '#317fd4',
    950: '#000000',
  },
}
SCSS
$custom: #317fd4;
$custom-light: #80a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#317fd4",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 211.288,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59146,
    "c": 0.15045,
    "h": 253.4
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#317FD4
secondary
#D4B28C
accent
#983FE8
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #317FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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