#316DB1#316DB1

#316DB1 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 52.9% C 0.124 H 253.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#316DB1
RGBrgb(49, 109, 177)
HSLhsl(212, 57%, 44%)
HSVhsv(212, 72%, 69%)
CMYKcmyk(72.3%, 38.4%, 0%, 30.6%)
CIE-LABlab(45.31, 3.94, -41.78)
CIE-LCHlch(45.31, 41.97, 275.38°)
OKLaboklab(52.91% -0.0351 -0.119)
OKLCHoklch(52.91% 0.124 253.6)
XYZxyz(14.6681, 14.7630, 43.6629)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DB1 #B17531
analogous
#31ADB1 #316DB1 #3531B1
triadic
#316DB1 #B1316D #6DB131
tetradic
#316DB1 #B131AD #B17531 #31B135
square
#316DB1 #B131AD #B17531 #31B135
split-complementary
#316DB1 #B13531 #ADB131
monochromatic
#163251 #244F81 #316DB1 #518CCF #80ABDC

Accessibility & contrast

On white

5.31
#316DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#316DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DB1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DB1#FFFFFF#000000##FFFFFF
##316DB11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B4
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316db1;
/* rgb */ color: rgb(49, 109, 177);
/* oklch */ color: oklch(52.9% 0.124 253.6);
Tailwind
colors: {
  custom: {
    50: '#7996c9',
    500: '#316db1',
    950: '#000000',
  },
}
SCSS
$custom: #316db1;
$custom-light: #7996c9;
$custom-dark: #000000;
JSON
{
  "hex": "#316db1",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 177
  },
  "hsl": {
    "h": 211.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.12408,
    "h": 253.6
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#316DB1
secondary
#C5A179
accent
#9948E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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