#316BB8#316BB8

#316BB8 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.9% C 0.136 H 256.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#316BB8
RGBrgb(49, 107, 184)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 73%, 72%)
CMYKcmyk(73.4%, 41.8%, 0%, 27.8%)
CIE-LABlab(45.12, 7.79, -46.16)
CIE-LCHlch(45.12, 46.81, 279.58°)
OKLaboklab(52.89% -0.0316 -0.1319)
OKLCHoklch(52.89% 0.136 256.5)
XYZxyz(15.1729, 14.6274, 47.3618)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB8 #B87E31
analogous
#31AEB8 #316BB8 #3A31B8
triadic
#316BB8 #B8316B #6BB831
tetradic
#316BB8 #B831AE #B87E31 #31B83A
square
#316BB8 #B831AE #B87E31 #31B83A
split-complementary
#316BB8 #B83A31 #AEB831
monochromatic
#173357 #244F88 #316BB8 #558AD2 #85ABDE

Accessibility & contrast

On white

5.35
#316BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#316BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BB8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB8#FFFFFF#000000##FFFFFF
##316BB81.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BB
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316bb8;
/* rgb */ color: rgb(49, 107, 184);
/* oklch */ color: oklch(52.9% 0.136 256.5);
Tailwind
colors: {
  custom: {
    50: '#7b94ce',
    500: '#316bb8',
    950: '#000000',
  },
}
SCSS
$custom: #316bb8;
$custom-light: #7b94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb8",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 214.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.13562,
    "h": 256.5
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#316BB8
secondary
#C8A87D
accent
#9F47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #316BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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