#316DB5#316DB5

#316DB5 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.129 H 254.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#316DB5
RGBrgb(49, 109, 181)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(72.9%, 39.8%, 0%, 29%)
CIE-LABlab(45.53, 5.42, -43.76)
CIE-LCHlch(45.53, 44.09, 277.06°)
OKLaboklab(53.16% -0.0341 -0.1248)
OKLCHoklch(53.16% 0.129 254.7)
XYZxyz(15.0727, 14.9248, 45.7935)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB5 #B57931
analogous
#31AFB5 #316DB5 #3731B5
triadic
#316DB5 #B5316D #6DB531
tetradic
#316DB5 #B531AF #B57931 #31B537
square
#316DB5 #B531AF #B57931 #31B537
split-complementary
#316DB5 #B53731 #AFB531
monochromatic
#173355 #245085 #316DB5 #538CD0 #83ACDD

Accessibility & contrast

On white

5.27
#316DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#316DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DB5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DB5#FFFFFF#000000##FFFFFF
##316DB51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#3766B4
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316db5;
/* rgb */ color: rgb(49, 109, 181);
/* oklch */ color: oklch(53.2% 0.129 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a96cb',
    500: '#316db5',
    950: '#000000',
  },
}
SCSS
$custom: #316db5;
$custom-light: #7a96cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316db5",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 212.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53157,
    "c": 0.12939,
    "h": 254.7
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#316DB5
secondary
#C7A47B
accent
#9B47E1
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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