#316ACF#316ACF

#316ACF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.168 H 260.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#316ACF
RGBrgb(49, 106, 207)
HSLhsl(218, 62%, 50%)
HSVhsv(218, 76%, 81%)
CMYKcmyk(76.3%, 48.8%, 0%, 18.8%)
CIE-LABlab(46.26, 17.04, -57.59)
CIE-LCHlch(46.26, 60.06, 286.48°)
OKLaboklab(54.23% -0.0267 -0.1655)
OKLCHoklch(54.23% 0.168 260.8)
XYZxyz(17.6791, 15.4640, 61.0725)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316ACF #CF9631
analogous
#31B9CF #316ACF #4731CF
triadic
#316ACF #CF316A #6ACF31
tetradic
#316ACF #CF31B9 #CF9631 #31CF47
square
#316ACF #CF31B9 #CF9631 #31CF47
split-complementary
#316ACF #CF4731 #B9CF31
monochromatic
#19376C #25519E #316ACF #638EDB #94B2E6

Accessibility & contrast

On white

5.13
#316ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#316ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316ACF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316ACF#FFFFFF#000000##FFFFFF
##316ACF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316acf;
/* rgb */ color: rgb(49, 106, 207);
/* oklch */ color: oklch(54.2% 0.168 260.8);
Tailwind
colors: {
  custom: {
    50: '#7f94de',
    500: '#316acf',
    950: '#000000',
  },
}
SCSS
$custom: #316acf;
$custom-light: #7f94de;
$custom-dark: #000000;
JSON
{
  "hex": "#316acf",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 207
  },
  "hsl": {
    "h": 218.354,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.16766,
    "h": 260.8
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#316ACF
secondary
#D1B88B
accent
#AB43E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #316ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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