#316ABB#316ABB

#316ABB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 52.9% C 0.141 H 257.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#316ABB
RGBrgb(49, 106, 187)
HSLhsl(215, 58%, 46%)
HSVhsv(215, 74%, 73%)
CMYKcmyk(73.8%, 43.3%, 0%, 26.7%)
CIE-LABlab(45.01, 9.54, -48.08)
CIE-LCHlch(45.01, 49.02, 281.22°)
OKLaboklab(52.86% -0.0301 -0.1376)
OKLCHoklch(52.86% 0.141 257.7)
XYZxyz(15.3870, 14.5472, 49.0010)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316ABB #BB8231
analogous
#31AFBB #316ABB #3D31BB
triadic
#316ABB #BB316A #6ABB31
tetradic
#316ABB #BB31AF #BB8231 #31BB3D
square
#316ABB #BB31AF #BB8231 #31BB3D
split-complementary
#316ABB #BB3D31 #AFBB31
monochromatic
#18335A #244F8B #316ABB #568AD3 #87ABE0

Accessibility & contrast

On white

5.37
#316ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#316ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316ABB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316ABB#FFFFFF#000000##FFFFFF
##316ABB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#2965B9
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316abb;
/* rgb */ color: rgb(49, 106, 187);
/* oklch */ color: oklch(52.9% 0.141 257.7);
Tailwind
colors: {
  custom: {
    50: '#7b94d0',
    500: '#316abb',
    950: '#000000',
  },
}
SCSS
$custom: #316abb;
$custom-light: #7b94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#316abb",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 215.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.14081,
    "h": 257.7
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#316ABB
secondary
#C9AA7F
accent
#A146E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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