#316FA6#316FA6

#316FA6 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.108 H 248.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#316FA6
RGBrgb(49, 111, 166)
HSLhsl(208, 54%, 42%)
HSVhsv(208, 70%, 65%)
CMYKcmyk(70.5%, 33.1%, 0%, 34.9%)
CIE-LABlab(45.32, -1.33, -35.32)
CIE-LCHlch(45.32, 35.34, 267.85°)
OKLaboklab(52.73% -0.0401 -0.1001)
OKLCHoklch(52.73% 0.108 248.2)
XYZxyz(13.8314, 14.7735, 38.1916)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FA6 #A66831
analogous
#31A6A3 #316FA6 #3135A6
triadic
#316FA6 #A6316F #6FA631
tetradic
#316FA6 #A331A6 #A66831 #35A631
square
#316FA6 #A331A6 #A66831 #35A631
split-complementary
#316FA6 #A63135 #A6A331
monochromatic
#153047 #234F77 #316FA6 #4A8ECA #7AACD8

Accessibility & contrast

On white

5.31
#316FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316FA6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FA6#FFFFFF#000000##FFFFFF
##316FA61.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316fa6;
/* rgb */ color: rgb(49, 111, 166);
/* oklch */ color: oklch(52.7% 0.108 248.2);
Tailwind
colors: {
  custom: {
    50: '#7798c0',
    500: '#316fa6',
    950: '#000000',
  },
}
SCSS
$custom: #316fa6;
$custom-light: #7798c0;
$custom-dark: #000000;
JSON
{
  "hex": "#316fa6",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 208.205,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.10781,
    "h": 248.2
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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