#316DB8#316DB8

#316DB8 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.133 H 255.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#316DB8
RGBrgb(49, 109, 184)
HSLhsl(213, 58%, 46%)
HSVhsv(213, 73%, 72%)
CMYKcmyk(73.4%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.70, 6.53, -45.23)
CIE-LCHlch(45.70, 45.70, 278.22°)
OKLaboklab(53.35% -0.0334 -0.1291)
OKLCHoklch(53.35% 0.133 255.5)
XYZxyz(15.3838, 15.0492, 47.4321)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB8 #B87C31
analogous
#31B0B8 #316DB8 #3831B8
triadic
#316DB8 #B8316D #6DB831
tetradic
#316DB8 #B831B0 #B87C31 #31B838
square
#316DB8 #B831B0 #B87C31 #31B838
split-complementary
#316DB8 #B83831 #B0B831
monochromatic
#173457 #245088 #316DB8 #558CD2 #85ADDE

Accessibility & contrast

On white

5.24
#316DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#316DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DB8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DB8#FFFFFF#000000##FFFFFF
##316DB81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316db8;
/* rgb */ color: rgb(49, 109, 184);
/* oklch */ color: oklch(53.3% 0.133 255.5);
Tailwind
colors: {
  custom: {
    50: '#7b96ce',
    500: '#316db8',
    950: '#000000',
  },
}
SCSS
$custom: #316db8;
$custom-light: #7b96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316db8",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 213.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.13339,
    "h": 255.5
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#316DB8
secondary
#C8A77D
accent
#9C47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #316DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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