#316DC4#316DC4

#316DC4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.1% C 0.149 H 258.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#316DC4
RGBrgb(49, 109, 196)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 77%)
CMYKcmyk(75%, 44.4%, 0%, 23.1%)
CIE-LABlab(46.41, 11.01, -51.04)
CIE-LCHlch(46.41, 52.21, 282.17°)
OKLaboklab(54.12% -0.0309 -0.1462)
OKLCHoklch(54.12% 0.149 258)
XYZxyz(16.6954, 15.5739, 54.3400)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC4 #C48831
analogous
#31B6C4 #316DC4 #3E31C4
triadic
#316DC4 #C4316D #6DC431
tetradic
#316DC4 #C431B6 #C48831 #31C43E
square
#316DC4 #C431B6 #C48831 #31C43E
split-complementary
#316DC4 #C43E31 #B6C431
monochromatic
#193762 #255293 #316DC4 #5C8ED6 #8DB0E2

Accessibility & contrast

On white

5.10
#316DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#316DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC4#FFFFFF#000000##FFFFFF
##316DC41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4175C7
Deuteranopia (green-blind)
#2368C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316dc4;
/* rgb */ color: rgb(49, 109, 196);
/* oklch */ color: oklch(54.1% 0.149 258.0);
Tailwind
colors: {
  custom: {
    50: '#7d96d6',
    500: '#316dc4',
    950: '#000000',
  },
}
SCSS
$custom: #316dc4;
$custom-light: #7d96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc4",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 196
  },
  "hsl": {
    "h": 215.51,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.14944,
    "h": 258
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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