#316EB8#316EB8

#316EB8 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.132 H 254.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#316EB8
RGBrgb(49, 110, 184)
HSLhsl(213, 58%, 46%)
HSVhsv(213, 73%, 72%)
CMYKcmyk(73.4%, 40.2%, 0%, 27.8%)
CIE-LABlab(45.99, 5.91, -44.77)
CIE-LCHlch(45.99, 45.15, 277.52°)
OKLaboklab(53.57% -0.0344 -0.1277)
OKLCHoklch(53.57% 0.132 254.9)
XYZxyz(15.4911, 15.2638, 47.4679)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EB8 #B87B31
analogous
#31B1B8 #316EB8 #3731B8
triadic
#316EB8 #B8316E #6EB831
tetradic
#316EB8 #B831B1 #B87B31 #31B837
square
#316EB8 #B831B1 #B87B31 #31B837
split-complementary
#316EB8 #B83731 #B1B831
monochromatic
#173457 #245188 #316EB8 #558DD2 #85ADDE

Accessibility & contrast

On white

5.18
#316EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#316EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EB8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EB8#FFFFFF#000000##FFFFFF
##316EB81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316eb8;
/* rgb */ color: rgb(49, 110, 184);
/* oklch */ color: oklch(53.6% 0.132 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b97ce',
    500: '#316eb8',
    950: '#000000',
  },
}
SCSS
$custom: #316eb8;
$custom-light: #7b97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316eb8",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 212.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.13229,
    "h": 254.9
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#316EB8
secondary
#C8A67D
accent
#9B47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #316EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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