#316CC3#316CC3

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

Color values

HEX#316CC3
RGBrgb(49, 108, 195)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(74.9%, 44.6%, 0%, 23.5%)
CIE-LABlab(46.06, 11.27, -51.02)
CIE-LCHlch(46.06, 52.24, 282.46°)
OKLaboklab(53.84% -0.0303 -0.1461)
OKLCHoklch(53.84% 0.149 258.3)
XYZxyz(16.4759, 15.3164, 53.7072)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC3 #C38831
analogous
#31B5C3 #316CC3 #3F31C3
triadic
#316CC3 #C3316C #6CC331
tetradic
#316CC3 #C331B5 #C38831 #31C33F
square
#316CC3 #C331B5 #C38831 #31C33F
split-complementary
#316CC3 #C33F31 #B5C331
monochromatic
#183661 #255192 #316CC3 #5B8DD6 #8CAFE2

Accessibility & contrast

On white

5.17
#316CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#316CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CC3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC3#FFFFFF#000000##FFFFFF
##316CC31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#2267C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316cc3;
/* rgb */ color: rgb(49, 108, 195);
/* oklch */ color: oklch(53.8% 0.149 258.3);
Tailwind
colors: {
  custom: {
    50: '#7d95d6',
    500: '#316cc3',
    950: '#000000',
  },
}
SCSS
$custom: #316cc3;
$custom-light: #7d95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc3",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 195
  },
  "hsl": {
    "h": 215.753,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.14925,
    "h": 258.3
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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