#316CC1#316CC1

#316CC1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.147 H 257.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#316CC1
RGBrgb(49, 108, 193)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.6%, 44%, 0%, 24.3%)
CIE-LABlab(45.94, 10.52, -50.06)
CIE-LCHlch(45.94, 51.15, 281.87°)
OKLaboklab(53.7% -0.0307 -0.1433)
OKLCHoklch(53.7% 0.147 257.9)
XYZxyz(16.2513, 15.2265, 52.5243)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC1 #C18631
analogous
#31B4C1 #316CC1 #3E31C1
triadic
#316CC1 #C1316C #6CC131
tetradic
#316CC1 #C131B4 #C18631 #31C13E
square
#316CC1 #C131B4 #C18631 #31C13E
split-complementary
#316CC1 #C13E31 #B4C131
monochromatic
#18355F #255190 #316CC1 #5A8CD5 #8BAEE2

Accessibility & contrast

On white

5.19
#316CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316CC1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC1#FFFFFF#000000##FFFFFF
##316CC11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4174C4
Deuteranopia (green-blind)
#2567BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316cc1;
/* rgb */ color: rgb(49, 108, 193);
/* oklch */ color: oklch(53.7% 0.147 257.9);
Tailwind
colors: {
  custom: {
    50: '#7c95d4',
    500: '#316cc1',
    950: '#000000',
  },
}
SCSS
$custom: #316cc1;
$custom-light: #7c95d4;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc1",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 215.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.14657,
    "h": 257.9
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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