#316ABA#316ABA

#316ABA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 52.8% C 0.139 H 257.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#316ABA
RGBrgb(49, 106, 186)
HSLhsl(215, 58%, 46%)
HSVhsv(215, 74%, 73%)
CMYKcmyk(73.7%, 43%, 0%, 27.1%)
CIE-LABlab(44.95, 9.17, -47.60)
CIE-LCHlch(44.95, 48.47, 280.90°)
OKLaboklab(52.8% -0.0303 -0.1361)
OKLCHoklch(52.8% 0.139 257.5)
XYZxyz(15.2803, 14.5045, 48.4392)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316ABA #BA8131
analogous
#31AEBA #316ABA #3C31BA
triadic
#316ABA #BA316A #6ABA31
tetradic
#316ABA #BA31AE #BA8131 #31BA3C
square
#316ABA #BA31AE #BA8131 #31BA3C
split-complementary
#316ABA #BA3C31 #AEBA31
monochromatic
#173359 #244E8A #316ABA #568AD2 #86ABDF

Accessibility & contrast

On white

5.38
#316ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#316ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316ABA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316ABA#FFFFFF#000000##FFFFFF
##316ABA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#2A65B8
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316aba;
/* rgb */ color: rgb(49, 106, 186);
/* oklch */ color: oklch(52.8% 0.139 257.5);
Tailwind
colors: {
  custom: {
    50: '#7b94cf',
    500: '#316aba',
    950: '#000000',
  },
}
SCSS
$custom: #316aba;
$custom-light: #7b94cf;
$custom-dark: #000000;
JSON
{
  "hex": "#316aba",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 215.036,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.13945,
    "h": 257.5
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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