#316CDB#316CDB

#316CDB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.181 H 261.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#316CDB
RGBrgb(49, 108, 219)
HSLhsl(219, 70%, 53%)
HSVhsv(219, 78%, 86%)
CMYKcmyk(77.6%, 50.7%, 0%, 14.1%)
CIE-LABlab(47.61, 20.26, -62.25)
CIE-LCHlch(47.61, 65.46, 288.03°)
OKLaboklab(55.52% -0.0266 -0.1792)
OKLCHoklch(55.52% 0.181 261.5)
XYZxyz(19.4108, 16.4903, 69.1640)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CDB #DBA031
analogous
#31C1DB #316CDB #4B31DB
triadic
#316CDB #DB316C #6CDB31
tetradic
#316CDB #DB31C1 #DBA031 #31DB4B
square
#316CDB #DB31C1 #DBA031 #31DB4B
split-complementary
#316CDB #DB4B31 #C1DB31
monochromatic
#16397C #1F51B0 #316CDB #6591E4 #99B6ED

Accessibility & contrast

On white

4.89
#316CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#316CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CDB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CDB#FFFFFF#000000##FFFFFF
##316CDB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #316cdb;
/* rgb */ color: rgb(49, 108, 219);
/* oklch */ color: oklch(55.5% 0.181 261.5);
Tailwind
colors: {
  custom: {
    50: '#8295e7',
    500: '#316cdb',
    950: '#000000',
  },
}
SCSS
$custom: #316cdb;
$custom-light: #8295e7;
$custom-dark: #000000;
JSON
{
  "hex": "#316cdb",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 219.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.18118,
    "h": 261.5
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#316CDB
secondary
#D9BF8F
accent
#AF3BED
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #316CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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