#316FA5#316FA5

#316FA5 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.7% C 0.107 H 247.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#316FA5
RGBrgb(49, 111, 165)
HSLhsl(208, 54%, 42%)
HSVhsv(208, 70%, 65%)
CMYKcmyk(70.3%, 32.7%, 0%, 35.3%)
CIE-LABlab(45.27, -1.69, -34.81)
CIE-LCHlch(45.27, 34.85, 267.22°)
OKLaboklab(52.68% -0.0403 -0.0986)
OKLCHoklch(52.68% 0.107 247.7)
XYZxyz(13.7400, 14.7370, 37.7104)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FA5 #A56731
analogous
#31A5A1 #316FA5 #3135A5
triadic
#316FA5 #A5316F #6FA531
tetradic
#316FA5 #A131A5 #A56731 #35A531
square
#316FA5 #A131A5 #A56731 #35A531
split-complementary
#316FA5 #A53135 #A5A131
monochromatic
#153047 #234F76 #316FA5 #4A8EC9 #79ABD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316FA5#FFFFFF#000000##FFFFFF
##316FA51.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)
#5771A7
Deuteranopia (green-blind)
#4766A4
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316fa5;
/* rgb */ color: rgb(49, 111, 165);
/* oklch */ color: oklch(52.7% 0.107 247.7);
Tailwind
colors: {
  custom: {
    50: '#7798c0',
    500: '#316fa5',
    950: '#000000',
  },
}
SCSS
$custom: #316fa5;
$custom-light: #7798c0;
$custom-dark: #000000;
JSON
{
  "hex": "#316fa5",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 207.931,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.10655,
    "h": 247.7
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#316FA5
secondary
#C09672
accent
#8F4ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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