#316DCF#316DCF

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

Color values

HEX#316DCF
RGBrgb(49, 109, 207)
HSLhsl(217, 62%, 50%)
HSVhsv(217, 76%, 81%)
CMYKcmyk(76.3%, 47.3%, 0%, 18.8%)
CIE-LABlab(47.10, 15.13, -56.25)
CIE-LCHlch(47.10, 58.25, 285.06°)
OKLaboklab(54.87% -0.0291 -0.1615)
OKLCHoklch(54.87% 0.164 259.8)
XYZxyz(17.9937, 16.0932, 61.1774)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DCF #CF9331
analogous
#31BCCF #316DCF #4431CF
triadic
#316DCF #CF316D #6DCF31
tetradic
#316DCF #CF31BC #CF9331 #31CF44
square
#316DCF #CF31BC #CF9331 #31CF44
split-complementary
#316DCF #CF4431 #BCCF31
monochromatic
#19396C #25539E #316DCF #6390DB #94B3E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316DCF#FFFFFF#000000##FFFFFF
##316DCF1.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)
#3777D3
Deuteranopia (green-blind)
#0269CD
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #316dcf;
/* rgb */ color: rgb(49, 109, 207);
/* oklch */ color: oklch(54.9% 0.164 259.8);
Tailwind
colors: {
  custom: {
    50: '#7f96de',
    500: '#316dcf',
    950: '#000000',
  },
}
SCSS
$custom: #316dcf;
$custom-light: #7f96de;
$custom-dark: #000000;
JSON
{
  "hex": "#316dcf",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 217.215,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.16411,
    "h": 259.8
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#316DCF
secondary
#D1B68B
accent
#A743E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #316DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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