#316FC6#316FC6

#316FC6 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.7% C 0.150 H 257.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#316FC6
RGBrgb(49, 111, 198)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 78%)
CMYKcmyk(75.3%, 43.9%, 0%, 22.4%)
CIE-LABlab(47.10, 10.50, -51.08)
CIE-LCHlch(47.10, 52.15, 281.61°)
OKLaboklab(54.7% -0.0323 -0.1463)
OKLCHoklch(54.7% 0.15 257.6)
XYZxyz(17.1404, 16.0971, 55.6188)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FC6 #C68831
analogous
#31B9C6 #316FC6 #3E31C6
triadic
#316FC6 #C6316F #6FC631
tetradic
#316FC6 #C631B9 #C68831 #31C63E
square
#316FC6 #C631B9 #C68831 #31C63E
split-complementary
#316FC6 #C63E31 #B9C631
monochromatic
#193864 #255395 #316FC6 #5D90D7 #8EB2E3

Accessibility & contrast

On white

4.98
#316FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#316FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FC6#FFFFFF#000000##FFFFFF
##316FC61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #316fc6;
/* rgb */ color: rgb(49, 111, 198);
/* oklch */ color: oklch(54.7% 0.150 257.6);
Tailwind
colors: {
  custom: {
    50: '#7d97d8',
    500: '#316fc6',
    950: '#000000',
  },
}
SCSS
$custom: #316fc6;
$custom-light: #7d97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#316fc6",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 198
  },
  "hsl": {
    "h": 215.034,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.14981,
    "h": 257.6
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#316FC6
secondary
#CEAF85
accent
#A144E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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