#316CC0#316CC0

#316CC0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.6% C 0.145 H 257.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#316CC0
RGBrgb(49, 108, 192)
HSLhsl(215, 59%, 47%)
HSVhsv(215, 74%, 75%)
CMYKcmyk(74.5%, 43.7%, 0%, 24.7%)
CIE-LABlab(45.88, 10.15, -49.58)
CIE-LCHlch(45.88, 50.60, 281.57°)
OKLaboklab(53.64% -0.0308 -0.1419)
OKLCHoklch(53.64% 0.145 257.7)
XYZxyz(16.1401, 15.1821, 51.9387)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CC0 #C08531
analogous
#31B3C0 #316CC0 #3E31C0
triadic
#316CC0 #C0316C #6CC031
tetradic
#316CC0 #C031B3 #C08531 #31C03E
square
#316CC0 #C031B3 #C08531 #31C03E
split-complementary
#316CC0 #C03E31 #B3C031
monochromatic
#18355E #25518F #316CC0 #598CD5 #8AAEE1

Accessibility & contrast

On white

5.20
#316CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#316CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CC0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CC0#FFFFFF#000000##FFFFFF
##316CC01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4274C3
Deuteranopia (green-blind)
#2767BE
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316cc0;
/* rgb */ color: rgb(49, 108, 192);
/* oklch */ color: oklch(53.6% 0.145 257.7);
Tailwind
colors: {
  custom: {
    50: '#7c95d3',
    500: '#316cc0',
    950: '#000000',
  },
}
SCSS
$custom: #316cc0;
$custom-light: #7c95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#316cc0",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 192
  },
  "hsl": {
    "h": 215.245,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.14523,
    "h": 257.7
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#316CC0
secondary
#CBAD82
accent
#A245E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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