#316CB4#316CB4

#316CB4 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.129 H 255.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#316CB4
RGBrgb(49, 108, 180)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(72.8%, 40%, 0%, 29.4%)
CIE-LABlab(45.18, 5.67, -43.73)
CIE-LCHlch(45.18, 44.10, 277.39°)
OKLaboklab(52.87% -0.0334 -0.1247)
OKLCHoklch(52.87% 0.129 255)
XYZxyz(14.8644, 14.6717, 45.2197)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB4 #B47931
analogous
#31AEB4 #316CB4 #3831B4
triadic
#316CB4 #B4316C #6CB431
tetradic
#316CB4 #B431AE #B47931 #31B438
square
#316CB4 #B431AE #B47931 #31B438
split-complementary
#316CB4 #B43831 #AEB431
monochromatic
#173254 #244F84 #316CB4 #528BD0 #82ABDD

Accessibility & contrast

On white

5.34
#316CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316CB4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB4#FFFFFF#000000##FFFFFF
##316CB41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B7
Deuteranopia (green-blind)
#3665B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316cb4;
/* rgb */ color: rgb(49, 108, 180);
/* oklch */ color: oklch(52.9% 0.129 255.0);
Tailwind
colors: {
  custom: {
    50: '#7a95cb',
    500: '#316cb4',
    950: '#000000',
  },
}
SCSS
$custom: #316cb4;
$custom-light: #7a95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb4",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 212.977,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.12915,
    "h": 255
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#316CB4
secondary
#C6A47B
accent
#9B47E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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