#316DB3#316DB3

#316DB3 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.127 H 254.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#316DB3
RGBrgb(49, 109, 179)
HSLhsl(212, 57%, 45%)
HSVhsv(212, 73%, 70%)
CMYKcmyk(72.6%, 39.1%, 0%, 29.8%)
CIE-LABlab(45.42, 4.68, -42.77)
CIE-LCHlch(45.42, 43.03, 276.24°)
OKLaboklab(53.03% -0.0346 -0.1219)
OKLCHoklch(53.03% 0.127 254.2)
XYZxyz(14.8689, 14.8433, 44.7205)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB3 #B37731
analogous
#31AEB3 #316DB3 #3631B3
triadic
#316DB3 #B3316D #6DB331
tetradic
#316DB3 #B331AE #B37731 #31B336
square
#316DB3 #B331AE #B37731 #31B336
split-complementary
#316DB3 #B33631 #AEB331
monochromatic
#173253 #245083 #316DB3 #528CD0 #82ACDD

Accessibility & contrast

On white

5.29
#316DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#316DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DB3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DB3#FFFFFF#000000##FFFFFF
##316DB31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B6
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316db3;
/* rgb */ color: rgb(49, 109, 179);
/* oklch */ color: oklch(53.0% 0.127 254.2);
Tailwind
colors: {
  custom: {
    50: '#7a96ca',
    500: '#316db3',
    950: '#000000',
  },
}
SCSS
$custom: #316db3;
$custom-light: #7a96ca;
$custom-dark: #000000;
JSON
{
  "hex": "#316db3",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 212.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.12673,
    "h": 254.2
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#316DB3
secondary
#C6A37A
accent
#9A48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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