#316CC5#316CC5

#316CC5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.152 H 258.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#316CC5
RGBrgb(49, 108, 197)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 77%)
CMYKcmyk(75.1%, 45.2%, 0%, 22.7%)
CIE-LABlab(46.19, 12.02, -51.97)
CIE-LCHlch(46.19, 53.34, 283.02°)
OKLaboklab(53.97% -0.0299 -0.149)
OKLCHoklch(53.97% 0.152 258.6)
XYZxyz(16.7036, 15.4074, 54.9061)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC5 #C58A31
analogous
#31B6C5 #316CC5 #4031C5
triadic
#316CC5 #C5316C #6CC531
tetradic
#316CC5 #C531B6 #C58A31 #31C540
square
#316CC5 #C531B6 #C58A31 #31C540
split-complementary
#316CC5 #C54031 #B6C531
monochromatic
#193663 #255194 #316CC5 #5D8DD7 #8EB0E3

Accessibility & contrast

On white

5.14
#316CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#316CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CC5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC5#FFFFFF#000000##FFFFFF
##316CC51.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#1E67C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316cc5;
/* rgb */ color: rgb(49, 108, 197);
/* oklch */ color: oklch(54.0% 0.152 258.6);
Tailwind
colors: {
  custom: {
    50: '#7d95d7',
    500: '#316cc5',
    950: '#000000',
  },
}
SCSS
$custom: #316cc5;
$custom-light: #7d95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc5",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 216.081,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.15193,
    "h": 258.6
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#316CC5
secondary
#CDB085
accent
#A444E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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