#316EC6#316EC6

#316EC6 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.151 H 258.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#316EC6
RGBrgb(49, 110, 198)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 78%)
CMYKcmyk(75.3%, 44.4%, 0%, 22.4%)
CIE-LABlab(46.82, 11.13, -51.54)
CIE-LCHlch(46.82, 52.72, 282.18°)
OKLaboklab(54.48% -0.0314 -0.1476)
OKLCHoklch(54.48% 0.151 258)
XYZxyz(17.0319, 15.8801, 55.5827)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EC6 #C68931
analogous
#31B8C6 #316EC6 #3E31C6
triadic
#316EC6 #C6316E #6EC631
tetradic
#316EC6 #C631B8 #C68931 #31C63E
square
#316EC6 #C631B8 #C68931 #31C63E
split-complementary
#316EC6 #C63E31 #B8C631
monochromatic
#193764 #255395 #316EC6 #5D8FD7 #8EB1E3

Accessibility & contrast

On white

5.03
#316EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#316EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EC6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EC6#FFFFFF#000000##FFFFFF
##316EC61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C9
Deuteranopia (green-blind)
#2369C4
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316ec6;
/* rgb */ color: rgb(49, 110, 198);
/* oklch */ color: oklch(54.5% 0.151 258.0);
Tailwind
colors: {
  custom: {
    50: '#7d97d8',
    500: '#316ec6',
    950: '#000000',
  },
}
SCSS
$custom: #316ec6;
$custom-light: #7d97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316ec6",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 198
  },
  "hsl": {
    "h": 215.436,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.15096,
    "h": 258
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#316EC6
secondary
#CEB085
accent
#A244E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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