#316CB5#316CB5

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

Color values

HEX#316CB5
RGBrgb(49, 108, 181)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(72.9%, 40.3%, 0%, 29%)
CIE-LABlab(45.24, 6.04, -44.22)
CIE-LCHlch(45.24, 44.64, 277.78°)
OKLaboklab(52.93% -0.0332 -0.1262)
OKLCHoklch(52.93% 0.13 255.3)
XYZxyz(14.9666, 14.7126, 45.7581)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB5 #B57A31
analogous
#31AEB5 #316CB5 #3831B5
triadic
#316CB5 #B5316C #6CB531
tetradic
#316CB5 #B531AE #B57A31 #31B538
square
#316CB5 #B531AE #B57A31 #31B538
split-complementary
#316CB5 #B53831 #AEB531
monochromatic
#173355 #244F85 #316CB5 #538BD0 #83ABDD

Accessibility & contrast

On white

5.33
#316CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#316CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB5#FFFFFF#000000##FFFFFF
##316CB51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B8
Deuteranopia (green-blind)
#3565B4
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316cb5;
/* rgb */ color: rgb(49, 108, 181);
/* oklch */ color: oklch(52.9% 0.130 255.3);
Tailwind
colors: {
  custom: {
    50: '#7a95cb',
    500: '#316cb5',
    950: '#000000',
  },
}
SCSS
$custom: #316cb5;
$custom-light: #7a95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb5",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 213.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.13049,
    "h": 255.3
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#316CB5
secondary
#C7A57B
accent
#9C47E1
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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