#316CC2#316CC2

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

Color values

HEX#316CC2
RGBrgb(49, 108, 194)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(74.7%, 44.3%, 0%, 23.9%)
CIE-LABlab(46.00, 10.89, -50.54)
CIE-LCHlch(46.00, 51.70, 282.16°)
OKLaboklab(53.77% -0.0305 -0.1447)
OKLCHoklch(53.77% 0.148 258.1)
XYZxyz(16.3632, 15.2713, 53.1137)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC2 #C28731
analogous
#31B5C2 #316CC2 #3E31C2
triadic
#316CC2 #C2316C #6CC231
tetradic
#316CC2 #C231B5 #C28731 #31C23E
square
#316CC2 #C231B5 #C28731 #31C23E
split-complementary
#316CC2 #C23E31 #B5C231
monochromatic
#183660 #255191 #316CC2 #5B8DD6 #8CAFE2

Accessibility & contrast

On white

5.18
#316CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#316CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CC2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC2#FFFFFF#000000##FFFFFF
##316CC21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#2467C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316cc2;
/* rgb */ color: rgb(49, 108, 194);
/* oklch */ color: oklch(53.8% 0.148 258.1);
Tailwind
colors: {
  custom: {
    50: '#7d95d5',
    500: '#316cc2',
    950: '#000000',
  },
}
SCSS
$custom: #316cc2;
$custom-light: #7d95d5;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc2",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 215.586,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.14791,
    "h": 258.1
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#316CC2
secondary
#CCAE83
accent
#A345E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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