#316FB5#316FB5

#316FB5 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.127 H 253.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#316FB5
RGBrgb(49, 111, 181)
HSLhsl(212, 57%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(72.9%, 38.7%, 0%, 29%)
CIE-LABlab(46.12, 4.17, -42.82)
CIE-LCHlch(46.12, 43.03, 275.56°)
OKLaboklab(53.62% -0.036 -0.122)
OKLCHoklch(53.62% 0.127 253.6)
XYZxyz(15.2885, 15.3564, 45.8654)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB5 #B57731
analogous
#31B1B5 #316FB5 #3531B5
triadic
#316FB5 #B5316F #6FB531
tetradic
#316FB5 #B531B1 #B57731 #31B535
square
#316FB5 #B531B1 #B57731 #31B535
split-complementary
#316FB5 #B53531 #B1B531
monochromatic
#173455 #245185 #316FB5 #538ED0 #83ADDD

Accessibility & contrast

On white

5.16
#316FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#316FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB5#FFFFFF#000000##FFFFFF
##316FB51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316fb5;
/* rgb */ color: rgb(49, 111, 181);
/* oklch */ color: oklch(53.6% 0.127 253.6);
Tailwind
colors: {
  custom: {
    50: '#7a97cb',
    500: '#316fb5',
    950: '#000000',
  },
}
SCSS
$custom: #316fb5;
$custom-light: #7a97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb5",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 181
  },
  "hsl": {
    "h": 211.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.12724,
    "h": 253.6
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#316FB5
secondary
#C7A37B
accent
#9947E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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