#316DC9#316DC9

#316DC9 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.156 H 258.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#316DC9
RGBrgb(49, 109, 201)
HSLhsl(216, 61%, 49%)
HSVhsv(216, 76%, 79%)
CMYKcmyk(75.6%, 45.8%, 0%, 21.2%)
CIE-LABlab(46.72, 12.88, -53.42)
CIE-LCHlch(46.72, 54.95, 283.56°)
OKLaboklab(54.46% -0.03 -0.1532)
OKLCHoklch(54.46% 0.156 258.9)
XYZxyz(17.2740, 15.8053, 57.3873)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC9 #C98D31
analogous
#31B9C9 #316DC9 #4131C9
triadic
#316DC9 #C9316D #6DC931
tetradic
#316DC9 #C931B9 #C98D31 #31C941
square
#316DC9 #C931B9 #C98D31 #31C941
split-complementary
#316DC9 #C94131 #B9C931
monochromatic
#193867 #255298 #316DC9 #5F8FD8 #90B1E4

Accessibility & contrast

On white

5.05
#316DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#316DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC9#FFFFFF#000000##FFFFFF
##316DC91.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#1968C7
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316dc9;
/* rgb */ color: rgb(49, 109, 201);
/* oklch */ color: oklch(54.5% 0.156 258.9);
Tailwind
colors: {
  custom: {
    50: '#7e96da',
    500: '#316dc9',
    950: '#000000',
  },
}
SCSS
$custom: #316dc9;
$custom-light: #7e96da;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc9",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 201
  },
  "hsl": {
    "h": 216.316,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.15612,
    "h": 258.9
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#316DC9
secondary
#CFB287
accent
#A544E4
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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