#316DC3#316DC3

#316DC3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.148 H 257.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#316DC3
RGBrgb(49, 109, 195)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.9%, 44.1%, 0%, 23.5%)
CIE-LABlab(46.35, 10.64, -50.56)
CIE-LCHlch(46.35, 51.67, 281.88°)
OKLaboklab(54.06% -0.0311 -0.1448)
OKLCHoklch(54.06% 0.148 257.9)
XYZxyz(16.5820, 15.5285, 53.7426)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC3 #C38731
analogous
#31B6C3 #316DC3 #3E31C3
triadic
#316DC3 #C3316D #6DC331
tetradic
#316DC3 #C331B6 #C38731 #31C33E
square
#316DC3 #C331B6 #C38731 #31C33E
split-complementary
#316DC3 #C33E31 #B6C331
monochromatic
#183661 #255292 #316DC3 #5B8ED6 #8CB0E2

Accessibility & contrast

On white

5.11
#316DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#316DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC3#FFFFFF#000000##FFFFFF
##316DC31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#2568C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316dc3;
/* rgb */ color: rgb(49, 109, 195);
/* oklch */ color: oklch(54.1% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#7d96d6',
    500: '#316dc3',
    950: '#000000',
  },
}
SCSS
$custom: #316dc3;
$custom-light: #7d96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc3",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 195
  },
  "hsl": {
    "h": 215.342,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.1481,
    "h": 257.9
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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