#316CBF#316CBF

#316CBF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.144 H 257.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#316CBF
RGBrgb(49, 108, 191)
HSLhsl(215, 59%, 47%)
HSVhsv(215, 74%, 75%)
CMYKcmyk(74.3%, 43.5%, 0%, 25.1%)
CIE-LABlab(45.82, 9.77, -49.09)
CIE-LCHlch(45.82, 50.06, 281.26°)
OKLaboklab(53.57% -0.031 -0.1405)
OKLCHoklch(53.57% 0.144 257.5)
XYZxyz(16.0297, 15.1379, 51.3572)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CBF #BF8431
analogous
#31B3BF #316CBF #3D31BF
triadic
#316CBF #BF316C #6CBF31
tetradic
#316CBF #BF31B3 #BF8431 #31BF3D
square
#316CBF #BF31B3 #BF8431 #31BF3D
split-complementary
#316CBF #BF3D31 #B3BF31
monochromatic
#18355E #25508E #316CBF #598CD4 #8AAEE1

Accessibility & contrast

On white

5.21
#316CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316CBF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CBF#FFFFFF#000000##FFFFFF
##316CBF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316cbf;
/* rgb */ color: rgb(49, 108, 191);
/* oklch */ color: oklch(53.6% 0.144 257.5);
Tailwind
colors: {
  custom: {
    50: '#7c95d3',
    500: '#316cbf',
    950: '#000000',
  },
}
SCSS
$custom: #316cbf;
$custom-light: #7c95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#316cbf",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 215.07,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.14389,
    "h": 257.5
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#316CBF
secondary
#CBAC81
accent
#A145E2
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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