#316FA8#316FA8

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

Color values

HEX#316FA8
RGBrgb(49, 111, 168)
HSLhsl(209, 55%, 43%)
HSVhsv(209, 71%, 66%)
CMYKcmyk(70.8%, 33.9%, 0%, 34.1%)
CIE-LABlab(45.42, -0.60, -36.33)
CIE-LCHlch(45.42, 36.34, 269.05°)
OKLaboklab(52.85% -0.0395 -0.103)
OKLCHoklch(52.85% 0.11 249)
XYZxyz(14.0163, 14.8475, 39.1654)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FA8 #A86A31
analogous
#31A8A5 #316FA8 #3134A8
triadic
#316FA8 #A8316F #6FA831
tetradic
#316FA8 #A531A8 #A86A31 #34A831
square
#316FA8 #A531A8 #A86A31 #34A831
split-complementary
#316FA8 #A83134 #A8A531
monochromatic
#153049 #235079 #316FA8 #4C8ECB #7BACD8

Accessibility & contrast

On white

5.29
#316FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#316FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FA8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FA8#FFFFFF#000000##FFFFFF
##316FA81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AA
Deuteranopia (green-blind)
#4566A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316fa8;
/* rgb */ color: rgb(49, 111, 168);
/* oklch */ color: oklch(52.8% 0.110 249.0);
Tailwind
colors: {
  custom: {
    50: '#7898c2',
    500: '#316fa8',
    950: '#000000',
  },
}
SCSS
$custom: #316fa8;
$custom-light: #7898c2;
$custom-dark: #000000;
JSON
{
  "hex": "#316fa8",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 208.739,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52845,
    "c": 0.11035,
    "h": 249
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#316FA8
secondary
#C19974
accent
#914ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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