#316AC1#316AC1

#316AC1 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.3% C 0.149 H 258.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#316AC1
RGBrgb(49, 106, 193)
HSLhsl(216, 60%, 47%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(74.6%, 45.1%, 0%, 24.3%)
CIE-LABlab(45.37, 11.79, -50.97)
CIE-LCHlch(45.37, 52.32, 283.02°)
OKLaboklab(53.26% -0.0289 -0.1461)
OKLCHoklch(53.26% 0.149 258.8)
XYZxyz(16.0428, 14.8095, 52.4548)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AC1 #C18831
analogous
#31B2C1 #316AC1 #4031C1
triadic
#316AC1 #C1316A #6AC131
tetradic
#316AC1 #C131B2 #C18831 #31C140
square
#316AC1 #C131B2 #C18831 #31C140
split-complementary
#316AC1 #C14031 #B2C131
monochromatic
#18345F #254F90 #316AC1 #5A8BD5 #8BADE2

Accessibility & contrast

On white

5.30
#316AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#316AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AC1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AC1#FFFFFF#000000##FFFFFF
##316AC11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C4
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316ac1;
/* rgb */ color: rgb(49, 106, 193);
/* oklch */ color: oklch(53.3% 0.149 258.8);
Tailwind
colors: {
  custom: {
    50: '#7c94d4',
    500: '#316ac1',
    950: '#000000',
  },
}
SCSS
$custom: #316ac1;
$custom-light: #7c94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#316ac1",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 193
  },
  "hsl": {
    "h": 216.25,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.1489,
    "h": 258.8
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#316AC1
secondary
#CCAF82
accent
#A445E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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