#316FC2#316FC2

#316FC2 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.4% C 0.144 H 256.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#316FC2
RGBrgb(49, 111, 194)
HSLhsl(214, 60%, 48%)
HSVhsv(214, 75%, 76%)
CMYKcmyk(74.7%, 42.8%, 0%, 23.9%)
CIE-LABlab(46.86, 9.00, -49.16)
CIE-LCHlch(46.86, 49.98, 280.38°)
OKLaboklab(54.44% -0.0331 -0.1406)
OKLCHoklch(54.44% 0.144 256.8)
XYZxyz(16.6851, 15.9150, 53.2210)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FC2 #C28431
analogous
#31B7C2 #316FC2 #3C31C2
triadic
#316FC2 #C2316F #6FC231
tetradic
#316FC2 #C231B7 #C28431 #31C23C
square
#316FC2 #C231B7 #C28431 #31C23C
split-complementary
#316FC2 #C23C31 #B7C231
monochromatic
#183760 #255391 #316FC2 #5B8FD6 #8CB0E2

Accessibility & contrast

On white

5.02
#316FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#316FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FC2#FFFFFF#000000##FFFFFF
##316FC21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316fc2;
/* rgb */ color: rgb(49, 111, 194);
/* oklch */ color: oklch(54.4% 0.144 256.8);
Tailwind
colors: {
  custom: {
    50: '#7d97d5',
    500: '#316fc2',
    950: '#000000',
  },
}
SCSS
$custom: #316fc2;
$custom-light: #7d97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#316fc2",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 214.345,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.14448,
    "h": 256.8
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#316FC2
secondary
#CCAD83
accent
#9F45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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