#316AB4#316AB4

#316AB4 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.131 H 256.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#316AB4
RGBrgb(49, 106, 180)
HSLhsl(214, 57%, 45%)
HSVhsv(214, 73%, 71%)
CMYKcmyk(72.8%, 41.1%, 0%, 29.4%)
CIE-LABlab(44.60, 6.93, -44.66)
CIE-LCHlch(44.60, 45.20, 278.82°)
OKLaboklab(52.41% -0.0315 -0.1275)
OKLCHoklch(52.41% 0.131 256.1)
XYZxyz(14.6559, 14.2547, 45.1502)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AB4 #B47B31
analogous
#31ACB4 #316AB4 #3A31B4
triadic
#316AB4 #B4316A #6AB431
tetradic
#316AB4 #B431AC #B47B31 #31B43A
square
#316AB4 #B431AC #B47B31 #31B43A
split-complementary
#316AB4 #B43A31 #ACB431
monochromatic
#173154 #244E84 #316AB4 #5289D0 #82AADD

Accessibility & contrast

On white

5.45
#316AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#316AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AB4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AB4#FFFFFF#000000##FFFFFF
##316AB41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#3164B3
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316ab4;
/* rgb */ color: rgb(49, 106, 180);
/* oklch */ color: oklch(52.4% 0.131 256.1);
Tailwind
colors: {
  custom: {
    50: '#7a94cb',
    500: '#316ab4',
    950: '#000000',
  },
}
SCSS
$custom: #316ab4;
$custom-light: #7a94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316ab4",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 180
  },
  "hsl": {
    "h": 213.893,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.13136,
    "h": 256.1
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#316AB4
secondary
#C6A57B
accent
#9E47E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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