#316BC6#316BC6

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

Color values

HEX#316BC6
RGBrgb(49, 107, 198)
HSLhsl(217, 60%, 48%)
HSVhsv(217, 75%, 78%)
CMYKcmyk(75.3%, 46%, 0%, 22.4%)
CIE-LABlab(45.97, 13.03, -52.90)
CIE-LCHlch(45.97, 54.48, 283.83°)
OKLaboklab(53.82% -0.0289 -0.1517)
OKLCHoklch(53.82% 0.154 259.2)
XYZxyz(16.7137, 15.2437, 55.4766)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC6 #C68C31
analogous
#31B5C6 #316BC6 #4131C6
triadic
#316BC6 #C6316B #6BC631
tetradic
#316BC6 #C631B5 #C68C31 #31C641
square
#316BC6 #C631B5 #C68C31 #31C641
split-complementary
#316BC6 #C64131 #B5C631
monochromatic
#193664 #255095 #316BC6 #5D8DD7 #8EAFE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316BC6#FFFFFF#000000##FFFFFF
##316BC61.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)
#3B74C9
Deuteranopia (green-blind)
#1867C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316bc6;
/* rgb */ color: rgb(49, 107, 198);
/* oklch */ color: oklch(53.8% 0.154 259.2);
Tailwind
colors: {
  custom: {
    50: '#7d94d8',
    500: '#316bc6',
    950: '#000000',
  },
}
SCSS
$custom: #316bc6;
$custom-light: #7d94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc6",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 198
  },
  "hsl": {
    "h": 216.644,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.15445,
    "h": 259.2
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#316BC6
secondary
#CEB185
accent
#A644E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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