#316BBE#316BBE

#316BBE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.144 H 257.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#316BBE
RGBrgb(49, 107, 190)
HSLhsl(215, 59%, 47%)
HSVhsv(215, 74%, 75%)
CMYKcmyk(74.2%, 43.7%, 0%, 25.5%)
CIE-LABlab(45.48, 10.03, -49.07)
CIE-LCHlch(45.48, 50.09, 281.55°)
OKLaboklab(53.28% -0.0304 -0.1404)
OKLCHoklch(53.28% 0.144 257.8)
XYZxyz(15.8152, 14.8843, 50.7447)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BBE #BE8431
analogous
#31B2BE #316BBE #3D31BE
triadic
#316BBE #BE316B #6BBE31
tetradic
#316BBE #BE31B2 #BE8431 #31BE3D
square
#316BBE #BE31B2 #BE8431 #31BE3D
split-complementary
#316BBE #BE3D31 #B2BE31
monochromatic
#18345D #24508D #316BBE #588BD4 #89ADE1

Accessibility & contrast

On white

5.28
#316BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#316BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BBE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BBE#FFFFFF#000000##FFFFFF
##316BBE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#2766BC
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316bbe;
/* rgb */ color: rgb(49, 107, 190);
/* oklch */ color: oklch(53.3% 0.144 257.8);
Tailwind
colors: {
  custom: {
    50: '#7c94d2',
    500: '#316bbe',
    950: '#000000',
  },
}
SCSS
$custom: #316bbe;
$custom-light: #7c94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#316bbe",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 215.319,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.14369,
    "h": 257.8
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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