#316BE6#316BE6

#316BE6 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.197 H 262.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#316BE6
RGBrgb(49, 107, 230)
HSLhsl(221, 78%, 55%)
HSVhsv(221, 79%, 90%)
CMYKcmyk(78.7%, 53.5%, 0%, 9.8%)
CIE-LABlab(48.11, 24.99, -67.66)
CIE-LCHlch(48.11, 72.13, 290.27°)
OKLaboklab(56.14% -0.0248 -0.1951)
OKLCHoklch(56.14% 0.197 262.8)
XYZxyz(20.8021, 16.8791, 77.0092)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BE6 #E6AC31
analogous
#31C6E6 #316BE6 #5131E6
triadic
#316BE6 #E6316B #6BE631
tetradic
#316BE6 #E631C6 #E6AC31 #31E651
square
#316BE6 #E631C6 #E6AC31 #31E651
split-complementary
#316BE6 #E65131 #C6E631
monochromatic
#11388C #184EC2 #316BE6 #6892ED #9EB9F3

Accessibility & contrast

On white

4.80
#316BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#316BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BE6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BE6#FFFFFF#000000##FFFFFF
##316BE61.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #316be6;
/* rgb */ color: rgb(49, 107, 230);
/* oklch */ color: oklch(56.1% 0.197 262.8);
Tailwind
colors: {
  custom: {
    50: '#8494ef',
    500: '#316be6',
    950: '#000000',
  },
}
SCSS
$custom: #316be6;
$custom-light: #8494ef;
$custom-dark: #000000;
JSON
{
  "hex": "#316be6",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 220.773,
    "s": 78.355,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.19672,
    "h": 262.8
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#316BE6
secondary
#E0C793
accent
#B733F5
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #316BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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