#316CB8#316CB8

#316CB8 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.135 H 256.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#316CB8
RGBrgb(49, 108, 184)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 73%, 72%)
CMYKcmyk(73.4%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.41, 7.16, -45.69)
CIE-LCHlch(45.41, 46.25, 278.90°)
OKLaboklab(53.12% -0.0325 -0.1305)
OKLCHoklch(53.12% 0.135 256)
XYZxyz(15.2777, 14.8371, 47.3968)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB8 #B87D31
analogous
#31AFB8 #316CB8 #3A31B8
triadic
#316CB8 #B8316C #6CB831
tetradic
#316CB8 #B831AF #B87D31 #31B83A
square
#316CB8 #B831AF #B87D31 #31B83A
split-complementary
#316CB8 #B83A31 #AFB831
monochromatic
#173357 #245088 #316CB8 #558BD2 #85ACDE

Accessibility & contrast

On white

5.29
#316CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#316CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB8#FFFFFF#000000##FFFFFF
##316CB81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#3166B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316cb8;
/* rgb */ color: rgb(49, 108, 184);
/* oklch */ color: oklch(53.1% 0.135 256.0);
Tailwind
colors: {
  custom: {
    50: '#7b95ce',
    500: '#316cb8',
    950: '#000000',
  },
}
SCSS
$custom: #316cb8;
$custom-light: #7b95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb8",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 213.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.1345,
    "h": 256
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#316CB8
secondary
#C8A77D
accent
#9E47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #316CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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