#316DC6#316DC6

#316DC6 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.152 H 258.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#316DC6
RGBrgb(49, 109, 198)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 78%)
CMYKcmyk(75.3%, 44.9%, 0%, 22.4%)
CIE-LABlab(46.53, 11.76, -51.99)
CIE-LCHlch(46.53, 53.31, 282.74°)
OKLaboklab(54.26% -0.0306 -0.149)
OKLCHoklch(54.26% 0.152 258.4)
XYZxyz(16.9246, 15.6655, 55.5469)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC6 #C68A31
analogous
#31B7C6 #316DC6 #3F31C6
triadic
#316DC6 #C6316D #6DC631
tetradic
#316DC6 #C631B7 #C68A31 #31C63F
square
#316DC6 #C631B7 #C68A31 #31C63F
split-complementary
#316DC6 #C63F31 #B7C631
monochromatic
#193764 #255295 #316DC6 #5D8ED7 #8EB0E3

Accessibility & contrast

On white

5.08
#316DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#316DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC6#FFFFFF#000000##FFFFFF
##316DC61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76C9
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316dc6;
/* rgb */ color: rgb(49, 109, 198);
/* oklch */ color: oklch(54.3% 0.152 258.4);
Tailwind
colors: {
  custom: {
    50: '#7d96d8',
    500: '#316dc6',
    950: '#000000',
  },
}
SCSS
$custom: #316dc6;
$custom-light: #7d96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc6",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 215.839,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.15212,
    "h": 258.4
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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