#316AC8#316AC8

#316AC8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.7% C 0.158 H 259.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#316AC8
RGBrgb(49, 106, 200)
HSLhsl(217, 61%, 49%)
HSVhsv(217, 76%, 78%)
CMYKcmyk(75.5%, 47%, 0%, 21.6%)
CIE-LABlab(45.81, 14.41, -54.30)
CIE-LCHlch(45.81, 56.18, 284.86°)
OKLaboklab(53.74% -0.0277 -0.1559)
OKLCHoklch(53.74% 0.158 259.9)
XYZxyz(16.8422, 15.1293, 56.6650)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AC8 #C88F31
analogous
#31B6C8 #316AC8 #4431C8
triadic
#316AC8 #C8316A #6AC831
tetradic
#316AC8 #C831B6 #C88F31 #31C844
square
#316AC8 #C831B6 #C88F31 #31C844
split-complementary
#316AC8 #C84431 #B6C831
monochromatic
#193666 #255097 #316AC8 #5F8CD8 #90AFE4

Accessibility & contrast

On white

5.22
#316AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316AC8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AC8#FFFFFF#000000##FFFFFF
##316AC81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#0C66C6
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316ac8;
/* rgb */ color: rgb(49, 106, 200);
/* oklch */ color: oklch(53.7% 0.158 259.9);
Tailwind
colors: {
  custom: {
    50: '#7e94d9',
    500: '#316ac8',
    950: '#000000',
  },
}
SCSS
$custom: #316ac8;
$custom-light: #7e94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#316ac8",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 217.351,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.15831,
    "h": 259.9
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#316AC8
secondary
#CEB386
accent
#A744E4
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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