#316FC8#316FC8

#316FC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.8% C 0.152 H 257.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#316FC8
RGBrgb(49, 111, 200)
HSLhsl(215, 61%, 49%)
HSVhsv(215, 76%, 78%)
CMYKcmyk(75.5%, 44.5%, 0%, 21.6%)
CIE-LABlab(47.22, 11.24, -52.03)
CIE-LCHlch(47.22, 53.24, 282.19°)
OKLaboklab(54.83% -0.0319 -0.1491)
OKLCHoklch(54.83% 0.152 257.9)
XYZxyz(17.3726, 16.1900, 56.8418)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FC8 #C88A31
analogous
#31BBC8 #316FC8 #3E31C8
triadic
#316FC8 #C8316F #6FC831
tetradic
#316FC8 #C831BB #C88A31 #31C83E
square
#316FC8 #C831BB #C88A31 #31C83E
split-complementary
#316FC8 #C83E31 #BBC831
monochromatic
#193866 #255497 #316FC8 #5F90D8 #90B2E4

Accessibility & contrast

On white

4.95
#316FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#316FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FC8#FFFFFF#000000##FFFFFF
##316FC81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#236AC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #316fc8;
/* rgb */ color: rgb(49, 111, 200);
/* oklch */ color: oklch(54.8% 0.152 257.9);
Tailwind
colors: {
  custom: {
    50: '#7e97d9',
    500: '#316fc8',
    950: '#000000',
  },
}
SCSS
$custom: #316fc8;
$custom-light: #7e97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#316fc8",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 215.364,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.15247,
    "h": 257.9
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#316FC8
secondary
#CEB186
accent
#A244E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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