#316CB1#316CB1

#316CB1 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.125 H 254.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#316CB1
RGBrgb(49, 108, 177)
HSLhsl(212, 57%, 44%)
HSVhsv(212, 72%, 69%)
CMYKcmyk(72.3%, 39%, 0%, 30.6%)
CIE-LABlab(45.01, 4.56, -42.25)
CIE-LCHlch(45.01, 42.50, 276.16°)
OKLaboklab(52.68% -0.0341 -0.1204)
OKLCHoklch(52.68% 0.125 254.2)
XYZxyz(14.5621, 14.5508, 43.6276)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB1 #B17631
analogous
#31ACB1 #316CB1 #3631B1
triadic
#316CB1 #B1316C #6CB131
tetradic
#316CB1 #B131AC #B17631 #31B136
square
#316CB1 #B131AC #B17631 #31B136
split-complementary
#316CB1 #B13631 #ACB131
monochromatic
#163251 #244F81 #316CB1 #518BCF #80ABDC

Accessibility & contrast

On white

5.37
#316CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#316CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB1#FFFFFF#000000##FFFFFF
##316CB11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316cb1;
/* rgb */ color: rgb(49, 108, 177);
/* oklch */ color: oklch(52.7% 0.125 254.2);
Tailwind
colors: {
  custom: {
    50: '#7995c9',
    500: '#316cb1',
    950: '#000000',
  },
}
SCSS
$custom: #316cb1;
$custom-light: #7995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb1",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 212.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.12515,
    "h": 254.2
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#316CB1
secondary
#C5A279
accent
#9A48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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