#316AC5#316AC5

#316AC5 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.154 H 259.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#316AC5
RGBrgb(49, 106, 197)
HSLhsl(217, 60%, 48%)
HSVhsv(217, 75%, 77%)
CMYKcmyk(75.1%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.62, 13.29, -52.88)
CIE-LCHlch(45.62, 54.52, 284.11°)
OKLaboklab(53.54% -0.0282 -0.1517)
OKLCHoklch(53.54% 0.154 259.5)
XYZxyz(16.4950, 14.9904, 54.8366)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AC5 #C58C31
analogous
#31B4C5 #316AC5 #4231C5
triadic
#316AC5 #C5316A #6AC531
tetradic
#316AC5 #C531B4 #C58C31 #31C542
square
#316AC5 #C531B4 #C58C31 #31C542
split-complementary
#316AC5 #C54231 #B4C531
monochromatic
#193563 #255094 #316AC5 #5D8CD7 #8EAEE3

Accessibility & contrast

On white

5.25
#316AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#316AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AC5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AC5#FFFFFF#000000##FFFFFF
##316AC51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C8
Deuteranopia (green-blind)
#1666C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316ac5;
/* rgb */ color: rgb(49, 106, 197);
/* oklch */ color: oklch(53.5% 0.154 259.5);
Tailwind
colors: {
  custom: {
    50: '#7d94d7',
    500: '#316ac5',
    950: '#000000',
  },
}
SCSS
$custom: #316ac5;
$custom-light: #7d94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#316ac5",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 216.892,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.15427,
    "h": 259.5
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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