#316BC3#316BC3

#316BC3 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.150 H 258.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#316BC3
RGBrgb(49, 107, 195)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(74.9%, 45.1%, 0%, 23.5%)
CIE-LABlab(45.78, 11.90, -51.47)
CIE-LCHlch(45.78, 52.83, 283.02°)
OKLaboklab(53.62% -0.0294 -0.1475)
OKLCHoklch(53.62% 0.15 258.7)
XYZxyz(16.3711, 15.1066, 53.6722)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BC3 #C38931
analogous
#31B4C3 #316BC3 #4031C3
triadic
#316BC3 #C3316B #6BC331
tetradic
#316BC3 #C331B4 #C38931 #31C340
square
#316BC3 #C331B4 #C38931 #31C340
split-complementary
#316BC3 #C34031 #B4C331
monochromatic
#183561 #255092 #316BC3 #5B8CD6 #8CAEE2

Accessibility & contrast

On white

5.22
#316BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#316BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BC3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BC3#FFFFFF#000000##FFFFFF
##316BC31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C6
Deuteranopia (green-blind)
#1F66C1
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316bc3;
/* rgb */ color: rgb(49, 107, 195);
/* oklch */ color: oklch(53.6% 0.150 258.7);
Tailwind
colors: {
  custom: {
    50: '#7d94d6',
    500: '#316bc3',
    950: '#000000',
  },
}
SCSS
$custom: #316bc3;
$custom-light: #7d94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316bc3",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 216.164,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.15042,
    "h": 258.7
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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