#316BC7#316BC7

#316BC7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.156 H 259.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#316BC7
RGBrgb(49, 107, 199)
HSLhsl(217, 60%, 49%)
HSVhsv(217, 75%, 78%)
CMYKcmyk(75.4%, 46.2%, 0%, 22%)
CIE-LABlab(46.03, 13.40, -53.38)
CIE-LCHlch(46.03, 55.03, 284.09°)
OKLaboklab(53.89% -0.0287 -0.1531)
OKLCHoklch(53.89% 0.156 259.4)
XYZxyz(16.8294, 15.2900, 56.0861)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC7 #C78D31
analogous
#31B6C7 #316BC7 #4231C7
triadic
#316BC7 #C7316B #6BC731
tetradic
#316BC7 #C731B6 #C78D31 #31C742
square
#316BC7 #C731B6 #C78D31 #31C742
split-complementary
#316BC7 #C74231 #B6C731
monochromatic
#193665 #255196 #316BC7 #5E8DD7 #8FB0E3

Accessibility & contrast

On white

5.17
#316BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#316BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BC7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BC7#FFFFFF#000000##FFFFFF
##316BC71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#1567C5
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316bc7;
/* rgb */ color: rgb(49, 107, 199);
/* oklch */ color: oklch(53.9% 0.156 259.4);
Tailwind
colors: {
  custom: {
    50: '#7e94d8',
    500: '#316bc7',
    950: '#000000',
  },
}
SCSS
$custom: #316bc7;
$custom-light: #7e94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc7",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 216.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.15578,
    "h": 259.4
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#316BC7
secondary
#CEB286
accent
#A644E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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