#316CC8#316CC8

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

Color values

HEX#316CC8
RGBrgb(49, 108, 200)
HSLhsl(217, 61%, 49%)
HSVhsv(217, 76%, 78%)
CMYKcmyk(75.5%, 46%, 0%, 21.6%)
CIE-LABlab(46.37, 13.14, -53.40)
CIE-LCHlch(46.37, 54.99, 283.83°)
OKLaboklab(54.18% -0.0294 -0.1532)
OKLCHoklch(54.18% 0.156 259.1)
XYZxyz(17.0507, 15.5463, 56.7345)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC8 #C88D31
analogous
#31B8C8 #316CC8 #4131C8
triadic
#316CC8 #C8316C #6CC831
tetradic
#316CC8 #C831B8 #C88D31 #31C841
square
#316CC8 #C831B8 #C88D31 #31C841
split-complementary
#316CC8 #C84131 #B8C831
monochromatic
#193766 #255197 #316CC8 #5F8ED8 #90B1E4

Accessibility & contrast

On white

5.11
#316CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#316CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC8#FFFFFF#000000##FFFFFF
##316CC81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#1767C6
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316cc8;
/* rgb */ color: rgb(49, 108, 200);
/* oklch */ color: oklch(54.2% 0.156 259.1);
Tailwind
colors: {
  custom: {
    50: '#7e95d9',
    500: '#316cc8',
    950: '#000000',
  },
}
SCSS
$custom: #316cc8;
$custom-light: #7e95d9;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc8",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 200
  },
  "hsl": {
    "h": 216.556,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.15595,
    "h": 259.1
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#316CC8
secondary
#CEB286
accent
#A544E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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