#316DB7#316DB7

#316DB7 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.132 H 255.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#316DB7
RGBrgb(49, 109, 183)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 72%)
CMYKcmyk(73.2%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.64, 6.16, -44.74)
CIE-LCHlch(45.64, 45.16, 277.84°)
OKLaboklab(53.28% -0.0337 -0.1277)
OKLCHoklch(53.28% 0.132 255.2)
XYZxyz(15.2794, 15.0075, 46.8820)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB7 #B77B31
analogous
#31B0B7 #316DB7 #3831B7
triadic
#316DB7 #B7316D #6DB731
tetradic
#316DB7 #B731B0 #B77B31 #31B738
square
#316DB7 #B731B0 #B77B31 #31B738
split-complementary
#316DB7 #B73831 #B0B731
monochromatic
#173356 #245087 #316DB7 #548CD1 #84ADDE

Accessibility & contrast

On white

5.25
#316DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#316DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DB7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DB7#FFFFFF#000000##FFFFFF
##316DB71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#3466B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316db7;
/* rgb */ color: rgb(49, 109, 183);
/* oklch */ color: oklch(53.3% 0.132 255.2);
Tailwind
colors: {
  custom: {
    50: '#7a96cd',
    500: '#316db7',
    950: '#000000',
  },
}
SCSS
$custom: #316db7;
$custom-light: #7a96cd;
$custom-dark: #000000;
JSON
{
  "hex": "#316db7",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 213.134,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.13206,
    "h": 255.2
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#316DB7
secondary
#C8A67C
accent
#9C47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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