#316CB6#316CB6

#316CB6 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.132 H 255.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#316CB6
RGBrgb(49, 108, 182)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(73.1%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.30, 6.42, -44.72)
CIE-LCHlch(45.30, 45.17, 278.16°)
OKLaboklab(52.99% -0.033 -0.1276)
OKLCHoklch(52.99% 0.132 255.5)
XYZxyz(15.0696, 14.7538, 46.3005)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB6 #B67B31
analogous
#31AFB6 #316CB6 #3831B6
triadic
#316CB6 #B6316C #6CB631
tetradic
#316CB6 #B631AF #B67B31 #31B638
square
#316CB6 #B631AF #B67B31 #31B638
split-complementary
#316CB6 #B63831 #AFB631
monochromatic
#173356 #244F86 #316CB6 #538BD1 #84ACDE

Accessibility & contrast

On white

5.32
#316CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#316CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB6#FFFFFF#000000##FFFFFF
##316CB61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#3366B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316cb6;
/* rgb */ color: rgb(49, 108, 182);
/* oklch */ color: oklch(53.0% 0.132 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a95cc',
    500: '#316cb6',
    950: '#000000',
  },
}
SCSS
$custom: #316cb6;
$custom-light: #7a95cc;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb6",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 213.383,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.13183,
    "h": 255.5
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#316CB6
secondary
#C7A67C
accent
#9D47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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