#316BC8#316BC8

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

Color values

HEX#316BC8
RGBrgb(49, 107, 200)
HSLhsl(217, 61%, 49%)
HSVhsv(217, 76%, 78%)
CMYKcmyk(75.5%, 46.5%, 0%, 21.6%)
CIE-LABlab(46.09, 13.78, -53.85)
CIE-LCHlch(46.09, 55.58, 284.35°)
OKLaboklab(53.96% -0.0285 -0.1545)
OKLCHoklch(53.96% 0.157 259.5)
XYZxyz(16.9459, 15.3366, 56.6995)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC8 #C88E31
analogous
#31B7C8 #316BC8 #4331C8
triadic
#316BC8 #C8316B #6BC831
tetradic
#316BC8 #C831B7 #C88E31 #31C843
square
#316BC8 #C831B7 #C88E31 #31C843
split-complementary
#316BC8 #C84331 #B7C831
monochromatic
#193666 #255197 #316BC8 #5F8DD8 #90B0E4

Accessibility & contrast

On white

5.16
#316BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#316BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BC8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BC8#FFFFFF#000000##FFFFFF
##316BC81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3975CB
Deuteranopia (green-blind)
#1267C6
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316bc8;
/* rgb */ color: rgb(49, 107, 200);
/* oklch */ color: oklch(54.0% 0.157 259.5);
Tailwind
colors: {
  custom: {
    50: '#7e94d9',
    500: '#316bc8',
    950: '#000000',
  },
}
SCSS
$custom: #316bc8;
$custom-light: #7e94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc8",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 216.954,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.15713,
    "h": 259.5
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#316BC8
secondary
#CEB386
accent
#A644E4
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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