#316BB7#316BB7

#316BB7 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.134 H 256.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#316BB7
RGBrgb(49, 107, 183)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 73%, 72%)
CMYKcmyk(73.2%, 41.5%, 0%, 28.2%)
CIE-LABlab(45.06, 7.42, -45.67)
CIE-LCHlch(45.06, 46.27, 279.22°)
OKLaboklab(52.83% -0.0318 -0.1305)
OKLCHoklch(52.83% 0.134 256.3)
XYZxyz(15.0684, 14.5856, 46.8117)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB7 #B77D31
analogous
#31AEB7 #316BB7 #3A31B7
triadic
#316BB7 #B7316B #6BB731
tetradic
#316BB7 #B731AE #B77D31 #31B73A
square
#316BB7 #B731AE #B77D31 #31B73A
split-complementary
#316BB7 #B73A31 #AEB731
monochromatic
#173356 #244F87 #316BB7 #548AD1 #84ABDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316BB7#FFFFFF#000000##FFFFFF
##316BB71.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)
#4771BA
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316bb7;
/* rgb */ color: rgb(49, 107, 183);
/* oklch */ color: oklch(52.8% 0.134 256.3);
Tailwind
colors: {
  custom: {
    50: '#7a94cd',
    500: '#316bb7',
    950: '#000000',
  },
}
SCSS
$custom: #316bb7;
$custom-light: #7a94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb7",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 214.03,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.13428,
    "h": 256.3
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#316BB7
secondary
#C8A77C
accent
#9E47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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