#316EC8#316EC8

#316EC8 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.154 H 258.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#316EC8
RGBrgb(49, 110, 200)
HSLhsl(216, 61%, 49%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.5%, 45%, 0%, 21.6%)
CIE-LABlab(46.94, 11.88, -52.49)
CIE-LCHlch(46.94, 53.82, 282.75°)
OKLaboklab(54.61% -0.0311 -0.1504)
OKLCHoklch(54.61% 0.154 258.3)
XYZxyz(17.2641, 15.9730, 56.8056)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EC8 #C88B31
analogous
#31BAC8 #316EC8 #4031C8
triadic
#316EC8 #C8316E #6EC831
tetradic
#316EC8 #C831BA #C88B31 #31C840
square
#316EC8 #C831BA #C88B31 #31C840
split-complementary
#316EC8 #C84031 #BAC831
monochromatic
#193866 #255397 #316EC8 #5F8FD8 #90B2E4

Accessibility & contrast

On white

5.01
#316EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#316EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EC8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EC8#FFFFFF#000000##FFFFFF
##316EC81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CB
Deuteranopia (green-blind)
#1F69C6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316ec8;
/* rgb */ color: rgb(49, 110, 200);
/* oklch */ color: oklch(54.6% 0.154 258.3);
Tailwind
colors: {
  custom: {
    50: '#7e97d9',
    500: '#316ec8',
    950: '#000000',
  },
}
SCSS
$custom: #316ec8;
$custom-light: #7e97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#316ec8",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 215.762,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.15362,
    "h": 258.3
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#316EC8
secondary
#CEB186
accent
#A344E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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