#316BA5#316BA5

#316BA5 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.110 H 250.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#316BA5
RGBrgb(49, 107, 165)
HSLhsl(210, 54%, 42%)
HSVhsv(210, 70%, 65%)
CMYKcmyk(70.3%, 35.2%, 0%, 35.3%)
CIE-LABlab(44.07, 0.77, -36.71)
CIE-LCHlch(44.07, 36.72, 271.19°)
OKLaboklab(51.73% -0.0363 -0.1042)
OKLCHoklch(51.73% 0.11 250.8)
XYZxyz(13.3133, 13.8836, 37.5682)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BA5 #A56B31
analogous
#31A5A5 #316BA5 #3131A5
triadic
#316BA5 #A5316B #6BA531
tetradic
#316BA5 #A531A5 #A56B31 #31A531
square
#316BA5 #A531A5 #A56B31 #31A531
split-complementary
#316BA5 #A53131 #A5A531
monochromatic
#152E47 #234C76 #316BA5 #4A8AC9 #79A8D7

Accessibility & contrast

On white

5.56
#316BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#316BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BA5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BA5#FFFFFF#000000##FFFFFF
##316BA51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #316ba5;
/* rgb */ color: rgb(49, 107, 165);
/* oklch */ color: oklch(51.7% 0.110 250.8);
Tailwind
colors: {
  custom: {
    50: '#7795c0',
    500: '#316ba5',
    950: '#000000',
  },
}
SCSS
$custom: #316ba5;
$custom-light: #7795c0;
$custom-dark: #000000;
JSON
{
  "hex": "#316ba5",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 165
  },
  "hsl": {
    "h": 210,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.11035,
    "h": 250.8
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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