#316CA7#316CA7

#316CA7 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.1% C 0.112 H 250.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#316CA7
RGBrgb(49, 108, 167)
HSLhsl(210, 55%, 42%)
HSVhsv(210, 71%, 65%)
CMYKcmyk(70.7%, 35.3%, 0%, 34.5%)
CIE-LABlab(44.47, 0.88, -37.25)
CIE-LCHlch(44.47, 37.26, 271.35°)
OKLaboklab(52.08% -0.0367 -0.1058)
OKLCHoklch(52.08% 0.112 250.8)
XYZxyz(13.6016, 14.1667, 38.5693)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CA7 #A76C31
analogous
#31A7A7 #316CA7 #3131A7
triadic
#316CA7 #A7316C #6CA731
tetradic
#316CA7 #A731A7 #A76C31 #31A731
square
#316CA7 #A731A7 #A76C31 #31A731
split-complementary
#316CA7 #A73131 #A7A731
monochromatic
#152F48 #234D78 #316CA7 #4B8BCA #7AA9D8

Accessibility & contrast

On white

5.48
#316CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#316CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CA7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CA7#FFFFFF#000000##FFFFFF
##316CA71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526FA9
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#007A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316ca7;
/* rgb */ color: rgb(49, 108, 167);
/* oklch */ color: oklch(52.1% 0.112 250.8);
Tailwind
colors: {
  custom: {
    50: '#7795c1',
    500: '#316ca7',
    950: '#000000',
  },
}
SCSS
$custom: #316ca7;
$custom-light: #7795c1;
$custom-dark: #000000;
JSON
{
  "hex": "#316ca7",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 167
  },
  "hsl": {
    "h": 210,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.11197,
    "h": 250.8
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#316CA7
secondary
#C19A73
accent
#944ADE
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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