#316CC6#316CC6

#316CC6 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.153 H 258.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#316CC6
RGBrgb(49, 108, 198)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 78%)
CMYKcmyk(75.3%, 45.5%, 0%, 22.4%)
CIE-LABlab(46.25, 12.39, -52.45)
CIE-LCHlch(46.25, 53.89, 283.29°)
OKLaboklab(54.04% -0.0297 -0.1504)
OKLCHoklch(54.04% 0.153 258.8)
XYZxyz(16.8185, 15.4534, 55.5115)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC6 #C68B31
analogous
#31B6C6 #316CC6 #4131C6
triadic
#316CC6 #C6316C #6CC631
tetradic
#316CC6 #C631B6 #C68B31 #31C641
square
#316CC6 #C631B6 #C68B31 #31C641
split-complementary
#316CC6 #C64131 #B6C631
monochromatic
#193664 #255195 #316CC6 #5D8DD7 #8EB0E3

Accessibility & contrast

On white

5.13
#316CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#316CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CC6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC6#FFFFFF#000000##FFFFFF
##316CC61.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D75C9
Deuteranopia (green-blind)
#1C67C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316cc6;
/* rgb */ color: rgb(49, 108, 198);
/* oklch */ color: oklch(54.0% 0.153 258.8);
Tailwind
colors: {
  custom: {
    50: '#7d95d8',
    500: '#316cc6',
    950: '#000000',
  },
}
SCSS
$custom: #316cc6;
$custom-light: #7d95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc6",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 216.242,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.15327,
    "h": 258.8
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#316CC6
secondary
#CEB185
accent
#A444E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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