#316FC4#316FC4

#316FC4 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.6% C 0.147 H 257.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#316FC4
RGBrgb(49, 111, 196)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 77%)
CMYKcmyk(75%, 43.4%, 0%, 23.1%)
CIE-LABlab(46.98, 9.75, -50.12)
CIE-LCHlch(46.98, 51.06, 281.01°)
OKLaboklab(54.57% -0.0327 -0.1435)
OKLCHoklch(54.57% 0.147 257.2)
XYZxyz(16.9112, 16.0055, 54.4119)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FC4 #C48631
analogous
#31B8C4 #316FC4 #3D31C4
triadic
#316FC4 #C4316F #6FC431
tetradic
#316FC4 #C431B8 #C48631 #31C43D
square
#316FC4 #C431B8 #C48631 #31C43D
split-complementary
#316FC4 #C43D31 #B8C431
monochromatic
#193862 #255393 #316FC4 #5C90D6 #8DB1E2

Accessibility & contrast

On white

5.00
#316FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#316FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FC4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FC4#FFFFFF#000000##FFFFFF
##316FC41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4577C7
Deuteranopia (green-blind)
#2969C2
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316fc4;
/* rgb */ color: rgb(49, 111, 196);
/* oklch */ color: oklch(54.6% 0.147 257.2);
Tailwind
colors: {
  custom: {
    50: '#7d97d6',
    500: '#316fc4',
    950: '#000000',
  },
}
SCSS
$custom: #316fc4;
$custom-light: #7d97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316fc4",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 214.694,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.14714,
    "h": 257.2
  },
  "luminance": 0.16007
}

Semantic roles & 50–950 ramp

primary
#316FC4
secondary
#CDAE84
accent
#A045E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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