#316DC8#316DC8

#316DC8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.4% C 0.155 H 258.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#316DC8
RGBrgb(49, 109, 200)
HSLhsl(216, 61%, 49%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.5%, 45.5%, 0%, 21.6%)
CIE-LABlab(46.66, 12.51, -52.94)
CIE-LCHlch(46.66, 54.40, 283.29°)
OKLaboklab(54.39% -0.0302 -0.1518)
OKLCHoklch(54.39% 0.155 258.7)
XYZxyz(17.1568, 15.7584, 56.7698)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC8 #C88C31
analogous
#31B9C8 #316DC8 #4131C8
triadic
#316DC8 #C8316D #6DC831
tetradic
#316DC8 #C831B9 #C88C31 #31C841
square
#316DC8 #C831B9 #C88C31 #31C841
split-complementary
#316DC8 #C84131 #B9C831
monochromatic
#193766 #255297 #316DC8 #5F8FD8 #90B1E4

Accessibility & contrast

On white

5.06
#316DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#316DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC8#FFFFFF#000000##FFFFFF
##316DC81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#1B68C6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316dc8;
/* rgb */ color: rgb(49, 109, 200);
/* oklch */ color: oklch(54.4% 0.155 258.7);
Tailwind
colors: {
  custom: {
    50: '#7e96d9',
    500: '#316dc8',
    950: '#000000',
  },
}
SCSS
$custom: #316dc8;
$custom-light: #7e96d9;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc8",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 200
  },
  "hsl": {
    "h": 216.159,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.15479,
    "h": 258.7
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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