#316DB6#316DB6

#316DB6 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.131 H 255.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#316DB6
RGBrgb(49, 109, 182)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(73.1%, 40.1%, 0%, 28.6%)
CIE-LABlab(45.59, 5.79, -44.25)
CIE-LCHlch(45.59, 44.63, 277.45°)
OKLaboklab(53.22% -0.0339 -0.1263)
OKLCHoklch(53.22% 0.131 255)
XYZxyz(15.1756, 14.9660, 46.3358)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB6 #B67A31
analogous
#31B0B6 #316DB6 #3731B6
triadic
#316DB6 #B6316D #6DB631
tetradic
#316DB6 #B631B0 #B67A31 #31B637
square
#316DB6 #B631B0 #B67A31 #31B637
split-complementary
#316DB6 #B63731 #B0B631
monochromatic
#173356 #245086 #316DB6 #538CD1 #84ACDE

Accessibility & contrast

On white

5.26
#316DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#316DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DB6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DB6#FFFFFF#000000##FFFFFF
##316DB61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#3666B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316db6;
/* rgb */ color: rgb(49, 109, 182);
/* oklch */ color: oklch(53.2% 0.131 255.0);
Tailwind
colors: {
  custom: {
    50: '#7a96cc',
    500: '#316db6',
    950: '#000000',
  },
}
SCSS
$custom: #316db6;
$custom-light: #7a96cc;
$custom-dark: #000000;
JSON
{
  "hex": "#316db6",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 212.932,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.13073,
    "h": 255
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#316DB6
secondary
#C7A57C
accent
#9B47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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