#316FB6#316FB6

#316FB6 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.129 H 253.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#316FB6
RGBrgb(49, 111, 182)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.1%, 39%, 0%, 28.6%)
CIE-LABlab(46.17, 4.54, -43.32)
CIE-LCHlch(46.17, 43.55, 275.98°)
OKLaboklab(53.68% -0.0358 -0.1235)
OKLCHoklch(53.68% 0.129 253.9)
XYZxyz(15.3914, 15.3975, 46.4078)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB6 #B67831
analogous
#31B1B6 #316FB6 #3531B6
triadic
#316FB6 #B6316F #6FB631
tetradic
#316FB6 #B631B1 #B67831 #31B635
square
#316FB6 #B631B1 #B67831 #31B635
split-complementary
#316FB6 #B63531 #B1B631
monochromatic
#173456 #245286 #316FB6 #538ED1 #84AEDE

Accessibility & contrast

On white

5.15
#316FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#316FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB6#FFFFFF#000000##FFFFFF
##316FB61.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316fb6;
/* rgb */ color: rgb(49, 111, 182);
/* oklch */ color: oklch(53.7% 0.129 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a97cc',
    500: '#316fb6',
    950: '#000000',
  },
}
SCSS
$custom: #316fb6;
$custom-light: #7a97cc;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb6",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 182
  },
  "hsl": {
    "h": 212.03,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.12856,
    "h": 253.9
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#316FB6
secondary
#C7A47C
accent
#9947E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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