#316BC4#316BC4

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

Color values

HEX#316BC4
RGBrgb(49, 107, 196)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 77%)
CMYKcmyk(75%, 45.4%, 0%, 23.1%)
CIE-LABlab(45.84, 12.28, -51.95)
CIE-LCHlch(45.84, 53.38, 283.30°)
OKLaboklab(53.69% -0.0292 -0.1489)
OKLCHoklch(53.69% 0.152 258.9)
XYZxyz(16.4845, 15.1520, 54.2697)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC4 #C48A31
analogous
#31B4C4 #316BC4 #4131C4
triadic
#316BC4 #C4316B #6BC431
tetradic
#316BC4 #C431B4 #C48A31 #31C441
square
#316BC4 #C431B4 #C48A31 #31C441
split-complementary
#316BC4 #C44131 #B4C431
monochromatic
#193662 #255093 #316BC4 #5C8CD6 #8DAFE2

Accessibility & contrast

On white

5.21
#316BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#316BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BC4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BC4#FFFFFF#000000##FFFFFF
##316BC41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C7
Deuteranopia (green-blind)
#1D66C2
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316bc4;
/* rgb */ color: rgb(49, 107, 196);
/* oklch */ color: oklch(53.7% 0.152 258.9);
Tailwind
colors: {
  custom: {
    50: '#7d94d6',
    500: '#316bc4',
    950: '#000000',
  },
}
SCSS
$custom: #316bc4;
$custom-light: #7d94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc4",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 216.327,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.15176,
    "h": 258.9
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#316BC4
secondary
#CDB084
accent
#A545E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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