#316BC1#316BC1

#316BC1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.148 H 258.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#316BC1
RGBrgb(49, 107, 193)
HSLhsl(216, 60%, 47%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(74.6%, 44.6%, 0%, 24.3%)
CIE-LABlab(45.66, 11.15, -50.51)
CIE-LCHlch(45.66, 51.73, 282.45°)
OKLaboklab(53.48% -0.0298 -0.1447)
OKLCHoklch(53.48% 0.148 258.4)
XYZxyz(16.1464, 15.0168, 52.4893)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC1 #C18731
analogous
#31B3C1 #316BC1 #3F31C1
triadic
#316BC1 #C1316B #6BC131
tetradic
#316BC1 #C131B3 #C18731 #31C13F
square
#316BC1 #C131B3 #C18731 #31C13F
split-complementary
#316BC1 #C13F31 #B3C131
monochromatic
#18355F #255090 #316BC1 #5A8CD5 #8BAEE2

Accessibility & contrast

On white

5.25
#316BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#316BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BC1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BC1#FFFFFF#000000##FFFFFF
##316BC11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316bc1;
/* rgb */ color: rgb(49, 107, 193);
/* oklch */ color: oklch(53.5% 0.148 258.4);
Tailwind
colors: {
  custom: {
    50: '#7c94d4',
    500: '#316bc1',
    950: '#000000',
  },
}
SCSS
$custom: #316bc1;
$custom-light: #7c94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc1",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 215.833,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.14772,
    "h": 258.4
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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