#316AC6#316AC6

#316AC6 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.6% C 0.156 H 259.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#316AC6
RGBrgb(49, 106, 198)
HSLhsl(217, 60%, 48%)
HSVhsv(217, 75%, 78%)
CMYKcmyk(75.3%, 46.5%, 0%, 22.4%)
CIE-LABlab(45.68, 13.66, -53.35)
CIE-LCHlch(45.68, 55.08, 284.36°)
OKLaboklab(53.6% -0.028 -0.1531)
OKLCHoklch(53.6% 0.156 259.6)
XYZxyz(16.6100, 15.0364, 55.4420)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AC6 #C68D31
analogous
#31B4C6 #316AC6 #4231C6
triadic
#316AC6 #C6316A #6AC631
tetradic
#316AC6 #C631B4 #C68D31 #31C642
square
#316AC6 #C631B4 #C68D31 #31C642
split-complementary
#316AC6 #C64231 #B4C631
monochromatic
#193564 #255095 #316AC6 #5D8CD7 #8EAFE3

Accessibility & contrast

On white

5.24
#316AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#316AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AC6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AC6#FFFFFF#000000##FFFFFF
##316AC61.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3973C9
Deuteranopia (green-blind)
#1366C4
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316ac6;
/* rgb */ color: rgb(49, 106, 198);
/* oklch */ color: oklch(53.6% 0.156 259.6);
Tailwind
colors: {
  custom: {
    50: '#7d94d8',
    500: '#316ac6',
    950: '#000000',
  },
}
SCSS
$custom: #316ac6;
$custom-light: #7d94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316ac6",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 198
  },
  "hsl": {
    "h": 217.047,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.15562,
    "h": 259.6
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#316AC6
secondary
#CEB285
accent
#A744E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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