#316DC5#316DC5

#316DC5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.2% C 0.151 H 258.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#316DC5
RGBrgb(49, 109, 197)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 77%)
CMYKcmyk(75.1%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.47, 11.38, -51.52)
CIE-LCHlch(46.47, 52.76, 282.46°)
OKLaboklab(54.19% -0.0308 -0.1476)
OKLCHoklch(54.19% 0.151 258.2)
XYZxyz(16.8096, 15.6196, 54.9415)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC5 #C58931
analogous
#31B7C5 #316DC5 #3F31C5
triadic
#316DC5 #C5316D #6DC531
tetradic
#316DC5 #C531B7 #C58931 #31C53F
square
#316DC5 #C531B7 #C58931 #31C53F
split-complementary
#316DC5 #C53F31 #B7C531
monochromatic
#193763 #255294 #316DC5 #5D8ED7 #8EB0E3

Accessibility & contrast

On white

5.09
#316DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#316DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC5#FFFFFF#000000##FFFFFF
##316DC51.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4075C8
Deuteranopia (green-blind)
#2268C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316dc5;
/* rgb */ color: rgb(49, 109, 197);
/* oklch */ color: oklch(54.2% 0.151 258.2);
Tailwind
colors: {
  custom: {
    50: '#7d96d7',
    500: '#316dc5',
    950: '#000000',
  },
}
SCSS
$custom: #316dc5;
$custom-light: #7d96d7;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc5",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 215.676,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.15077,
    "h": 258.2
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#316DC5
secondary
#CDB085
accent
#A344E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316DC5

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

Preview Lab → · Contrast checker → · Palette generator →

#316DC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva