#316BC5#316BC5

#316BC5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.153 H 259.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#316BC5
RGBrgb(49, 107, 197)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 77%)
CMYKcmyk(75.1%, 45.7%, 0%, 22.7%)
CIE-LABlab(45.90, 12.65, -52.43)
CIE-LCHlch(45.90, 53.93, 283.57°)
OKLaboklab(53.75% -0.0291 -0.1503)
OKLCHoklch(53.75% 0.153 259.1)
XYZxyz(16.5987, 15.1977, 54.8711)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC5 #C58B31
analogous
#31B5C5 #316BC5 #4131C5
triadic
#316BC5 #C5316B #6BC531
tetradic
#316BC5 #C531B5 #C58B31 #31C541
square
#316BC5 #C531B5 #C58B31 #31C541
split-complementary
#316BC5 #C54131 #B5C531
monochromatic
#193663 #255094 #316BC5 #5D8CD7 #8EAFE3

Accessibility & contrast

On white

5.20
#316BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#316BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BC5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BC5#FFFFFF#000000##FFFFFF
##316BC51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C74C8
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316bc5;
/* rgb */ color: rgb(49, 107, 197);
/* oklch */ color: oklch(53.8% 0.153 259.1);
Tailwind
colors: {
  custom: {
    50: '#7d94d7',
    500: '#316bc5',
    950: '#000000',
  },
}
SCSS
$custom: #316bc5;
$custom-light: #7d94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc5",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 216.486,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.1531,
    "h": 259.1
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#316BC5
secondary
#CDB185
accent
#A544E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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