#316ABC#316ABC

#316ABC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.142 H 257.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#316ABC
RGBrgb(49, 106, 188)
HSLhsl(215, 59%, 46%)
HSVhsv(215, 74%, 74%)
CMYKcmyk(73.9%, 43.6%, 0%, 26.3%)
CIE-LABlab(45.07, 9.91, -48.56)
CIE-LCHlch(45.07, 49.57, 281.54°)
OKLaboklab(52.93% -0.0299 -0.139)
OKLCHoklch(52.93% 0.142 257.9)
XYZxyz(15.4944, 14.5902, 49.5668)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316ABC #BC8331
analogous
#31B0BC #316ABC #3E31BC
triadic
#316ABC #BC316A #6ABC31
tetradic
#316ABC #BC31B0 #BC8331 #31BC3E
square
#316ABC #BC31B0 #BC8331 #31BC3E
split-complementary
#316ABC #BC3E31 #B0BC31
monochromatic
#18335B #244F8B #316ABC #578AD3 #88ACE0

Accessibility & contrast

On white

5.36
#316ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#316ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316ABC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316ABC#FFFFFF#000000##FFFFFF
##316ABC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172BF
Deuteranopia (green-blind)
#2765BA
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316abc;
/* rgb */ color: rgb(49, 106, 188);
/* oklch */ color: oklch(52.9% 0.142 257.9);
Tailwind
colors: {
  custom: {
    50: '#7b94d1',
    500: '#316abc',
    950: '#000000',
  },
}
SCSS
$custom: #316abc;
$custom-light: #7b94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#316abc",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 215.396,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.14215,
    "h": 257.9
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#316ABC
secondary
#CAAB7F
accent
#A246E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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