#316DC1#316DC1

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

Color values

HEX#316DC1
RGBrgb(49, 109, 193)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.6%, 43.5%, 0%, 24.3%)
CIE-LABlab(46.23, 9.89, -49.60)
CIE-LCHlch(46.23, 50.57, 281.27°)
OKLaboklab(53.93% -0.0315 -0.142)
OKLCHoklch(53.93% 0.145 257.5)
XYZxyz(16.3574, 15.4387, 52.5596)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC1 #C18531
analogous
#31B5C1 #316DC1 #3D31C1
triadic
#316DC1 #C1316D #6DC131
tetradic
#316DC1 #C131B5 #C18531 #31C13D
square
#316DC1 #C131B5 #C18531 #31C13D
split-complementary
#316DC1 #C13D31 #B5C131
monochromatic
#18365F #255190 #316DC1 #5A8DD5 #8BAFE2

Accessibility & contrast

On white

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

On black

4.09
#316DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##316DC1#FFFFFF#000000##FFFFFF
##316DC11.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C4
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316dc1;
/* rgb */ color: rgb(49, 109, 193);
/* oklch */ color: oklch(53.9% 0.145 257.5);
Tailwind
colors: {
  custom: {
    50: '#7c96d4',
    500: '#316dc1',
    950: '#000000',
  },
}
SCSS
$custom: #316dc1;
$custom-light: #7c96d4;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc1",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 193
  },
  "hsl": {
    "h": 215,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.14542,
    "h": 257.5
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#316DC1
secondary
#CCAD82
accent
#A145E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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