#316FA7#316FA7

#316FA7 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.109 H 248.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#316FA7
RGBrgb(49, 111, 167)
HSLhsl(208, 55%, 42%)
HSVhsv(208, 71%, 65%)
CMYKcmyk(70.7%, 33.5%, 0%, 34.5%)
CIE-LABlab(45.37, -0.96, -35.83)
CIE-LCHlch(45.37, 35.84, 268.46°)
OKLaboklab(52.79% -0.0398 -0.1016)
OKLCHoklch(52.79% 0.109 248.6)
XYZxyz(13.9235, 14.8104, 38.6766)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FA7 #A76931
analogous
#31A7A4 #316FA7 #3134A7
triadic
#316FA7 #A7316F #6FA731
tetradic
#316FA7 #A431A7 #A76931 #34A731
square
#316FA7 #A431A7 #A76931 #34A731
split-complementary
#316FA7 #A73134 #A7A431
monochromatic
#153048 #235078 #316FA7 #4B8ECA #7AACD8

Accessibility & contrast

On white

5.30
#316FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#316FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FA7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FA7#FFFFFF#000000##FFFFFF
##316FA71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316fa7;
/* rgb */ color: rgb(49, 111, 167);
/* oklch */ color: oklch(52.8% 0.109 248.6);
Tailwind
colors: {
  custom: {
    50: '#7798c1',
    500: '#316fa7',
    950: '#000000',
  },
}
SCSS
$custom: #316fa7;
$custom-light: #7798c1;
$custom-dark: #000000;
JSON
{
  "hex": "#316fa7",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 208.475,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.10907,
    "h": 248.6
  },
  "luminance": 0.14812
}

Semantic roles & 50–950 ramp

primary
#316FA7
secondary
#C19873
accent
#904ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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