#316DBA#316DBA

#316DBA is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.5% C 0.136 H 256.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#316DBA
RGBrgb(49, 109, 186)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(73.7%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.82, 7.28, -46.21)
CIE-LCHlch(45.82, 46.78, 278.95°)
OKLaboklab(53.47% -0.033 -0.132)
OKLCHoklch(53.47% 0.136 256)
XYZxyz(15.5949, 15.1337, 48.5441)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DBA #BA7E31
analogous
#31B1BA #316DBA #3A31BA
triadic
#316DBA #BA316D #6DBA31
tetradic
#316DBA #BA31B1 #BA7E31 #31BA3A
square
#316DBA #BA31B1 #BA7E31 #31BA3A
split-complementary
#316DBA #BA3A31 #B1BA31
monochromatic
#173459 #24518A #316DBA #568CD2 #86ADDF

Accessibility & contrast

On white

5.21
#316DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#316DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DBA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DBA#FFFFFF#000000##FFFFFF
##316DBA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#3167B8
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316dba;
/* rgb */ color: rgb(49, 109, 186);
/* oklch */ color: oklch(53.5% 0.136 256.0);
Tailwind
colors: {
  custom: {
    50: '#7b96cf',
    500: '#316dba',
    950: '#000000',
  },
}
SCSS
$custom: #316dba;
$custom-light: #7b96cf;
$custom-dark: #000000;
JSON
{
  "hex": "#316dba",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 213.723,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.13606,
    "h": 256
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#316DBA
secondary
#C9A87E
accent
#9E46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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