#316EB4#316EB4

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

Color values

HEX#316EB4
RGBrgb(49, 110, 180)
HSLhsl(212, 57%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(72.8%, 38.9%, 0%, 29.4%)
CIE-LABlab(45.77, 4.42, -42.80)
CIE-LCHlch(45.77, 43.03, 275.90°)
OKLaboklab(53.32% -0.0353 -0.122)
OKLCHoklch(53.32% 0.127 253.9)
XYZxyz(15.0777, 15.0985, 45.2908)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EB4 #B47731
analogous
#31B0B4 #316EB4 #3631B4
triadic
#316EB4 #B4316E #6EB431
tetradic
#316EB4 #B431B0 #B47731 #31B436
square
#316EB4 #B431B0 #B47731 #31B436
split-complementary
#316EB4 #B43631 #B0B431
monochromatic
#173354 #245184 #316EB4 #528DD0 #82ADDD

Accessibility & contrast

On white

5.22
#316EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#316EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EB4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EB4#FFFFFF#000000##FFFFFF
##316EB41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B7
Deuteranopia (green-blind)
#3967B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316eb4;
/* rgb */ color: rgb(49, 110, 180);
/* oklch */ color: oklch(53.3% 0.127 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a97cb',
    500: '#316eb4',
    950: '#000000',
  },
}
SCSS
$custom: #316eb4;
$custom-light: #7a97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316eb4",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 212.061,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.12699,
    "h": 253.9
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#316EB4
secondary
#C6A37B
accent
#9947E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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