#316AC3#316AC3

#316AC3 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.152 H 259.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#316AC3
RGBrgb(49, 106, 195)
HSLhsl(217, 60%, 48%)
HSVhsv(217, 75%, 76%)
CMYKcmyk(74.9%, 45.6%, 0%, 23.5%)
CIE-LABlab(45.50, 12.54, -51.93)
CIE-LCHlch(45.50, 53.42, 283.57°)
OKLaboklab(53.4% -0.0286 -0.1489)
OKLCHoklch(53.4% 0.152 259.1)
XYZxyz(16.2674, 14.8993, 53.6377)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AC3 #C38A31
analogous
#31B3C3 #316AC3 #4131C3
triadic
#316AC3 #C3316A #6AC331
tetradic
#316AC3 #C331B3 #C38A31 #31C341
square
#316AC3 #C331B3 #C38A31 #31C341
split-complementary
#316AC3 #C34131 #B3C331
monochromatic
#183561 #254F92 #316AC3 #5B8BD6 #8CAEE2

Accessibility & contrast

On white

5.28
#316AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#316AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AC3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AC3#FFFFFF#000000##FFFFFF
##316AC31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#1B65C1
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316ac3;
/* rgb */ color: rgb(49, 106, 195);
/* oklch */ color: oklch(53.4% 0.152 259.1);
Tailwind
colors: {
  custom: {
    50: '#7d94d6',
    500: '#316ac3',
    950: '#000000',
  },
}
SCSS
$custom: #316ac3;
$custom-light: #7d94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316ac3",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 195
  },
  "hsl": {
    "h": 216.575,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.15159,
    "h": 259.1
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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