#316AC2#316AC2

#316AC2 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.150 H 259.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#316AC2
RGBrgb(49, 106, 194)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(74.7%, 45.4%, 0%, 23.9%)
CIE-LABlab(45.43, 12.16, -51.45)
CIE-LCHlch(45.43, 52.87, 283.30°)
OKLaboklab(53.33% -0.0287 -0.1475)
OKLCHoklch(53.33% 0.15 259)
XYZxyz(16.1547, 14.8543, 53.0442)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AC2 #C28931
analogous
#31B2C2 #316AC2 #4131C2
triadic
#316AC2 #C2316A #6AC231
tetradic
#316AC2 #C231B2 #C28931 #31C241
square
#316AC2 #C231B2 #C28931 #31C241
split-complementary
#316AC2 #C24131 #B2C231
monochromatic
#183560 #254F91 #316AC2 #5B8BD6 #8CADE2

Accessibility & contrast

On white

5.29
#316AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#316AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AC2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AC2#FFFFFF#000000##FFFFFF
##316AC21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C5
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316ac2;
/* rgb */ color: rgb(49, 106, 194);
/* oklch */ color: oklch(53.3% 0.150 259.0);
Tailwind
colors: {
  custom: {
    50: '#7d94d5',
    500: '#316ac2',
    950: '#000000',
  },
}
SCSS
$custom: #316ac2;
$custom-light: #7d94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#316ac2",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 216.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.15023,
    "h": 259
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#316AC2
secondary
#CCAF83
accent
#A545E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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