#316DC2#316DC2

#316DC2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.147 H 257.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#316DC2
RGBrgb(49, 109, 194)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.7%, 43.8%, 0%, 23.9%)
CIE-LABlab(46.29, 10.26, -50.08)
CIE-LCHlch(46.29, 51.12, 281.58°)
OKLaboklab(53.99% -0.0313 -0.1434)
OKLCHoklch(53.99% 0.147 257.7)
XYZxyz(16.4693, 15.4834, 53.1491)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DC2 #C28631
analogous
#31B6C2 #316DC2 #3D31C2
triadic
#316DC2 #C2316D #6DC231
tetradic
#316DC2 #C231B6 #C28631 #31C23D
square
#316DC2 #C231B6 #C28631 #31C23D
split-complementary
#316DC2 #C23D31 #B6C231
monochromatic
#183660 #255291 #316DC2 #5B8ED6 #8CAFE2

Accessibility & contrast

On white

5.13
#316DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#316DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DC2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DC2#FFFFFF#000000##FFFFFF
##316DC21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316dc2;
/* rgb */ color: rgb(49, 109, 194);
/* oklch */ color: oklch(54.0% 0.147 257.7);
Tailwind
colors: {
  custom: {
    50: '#7d96d5',
    500: '#316dc2',
    950: '#000000',
  },
}
SCSS
$custom: #316dc2;
$custom-light: #7d96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#316dc2",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 215.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.14677,
    "h": 257.7
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#316DC2
secondary
#CCAE83
accent
#A245E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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