#316DB4#316DB4

#316DB4 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.128 H 254.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#316DB4
RGBrgb(49, 109, 180)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(72.8%, 39.4%, 0%, 29.4%)
CIE-LABlab(45.47, 5.05, -43.27)
CIE-LCHlch(45.47, 43.56, 276.65°)
OKLaboklab(53.1% -0.0344 -0.1234)
OKLCHoklch(53.1% 0.128 254.4)
XYZxyz(14.9704, 14.8839, 45.2551)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB4 #B47831
analogous
#31AFB4 #316DB4 #3731B4
triadic
#316DB4 #B4316D #6DB431
tetradic
#316DB4 #B431AF #B47831 #31B437
square
#316DB4 #B431AF #B47831 #31B437
split-complementary
#316DB4 #B43731 #AFB431
monochromatic
#173354 #245084 #316DB4 #528CD0 #82ACDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316DB4#FFFFFF#000000##FFFFFF
##316DB41.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)
#4C72B7
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316db4;
/* rgb */ color: rgb(49, 109, 180);
/* oklch */ color: oklch(53.1% 0.128 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a96cb',
    500: '#316db4',
    950: '#000000',
  },
}
SCSS
$custom: #316db4;
$custom-light: #7a96cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316db4",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 180
  },
  "hsl": {
    "h": 212.519,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.12807,
    "h": 254.4
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#316DB4
secondary
#C6A47B
accent
#9A47E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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