#316EC2#316EC2

#316EC2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.2% C 0.146 H 257.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#316EC2
RGBrgb(49, 110, 194)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.7%, 43.3%, 0%, 23.9%)
CIE-LABlab(46.58, 9.63, -49.62)
CIE-LCHlch(46.58, 50.55, 280.98°)
OKLaboklab(54.21% -0.0322 -0.142)
OKLCHoklch(54.21% 0.146 257.2)
XYZxyz(16.5766, 15.6980, 53.1849)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EC2 #C28531
analogous
#31B6C2 #316EC2 #3D31C2
triadic
#316EC2 #C2316E #6EC231
tetradic
#316EC2 #C231B6 #C28531 #31C23D
square
#316EC2 #C231B6 #C28531 #31C23D
split-complementary
#316EC2 #C23D31 #B6C231
monochromatic
#183760 #255291 #316EC2 #5B8ED6 #8CB0E2

Accessibility & contrast

On white

5.07
#316EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#316EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EC2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EC2#FFFFFF#000000##FFFFFF
##316EC21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C5
Deuteranopia (green-blind)
#2968C0
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316ec2;
/* rgb */ color: rgb(49, 110, 194);
/* oklch */ color: oklch(54.2% 0.146 257.2);
Tailwind
colors: {
  custom: {
    50: '#7d97d5',
    500: '#316ec2',
    950: '#000000',
  },
}
SCSS
$custom: #316ec2;
$custom-light: #7d97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#316ec2",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 214.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.14562,
    "h": 257.2
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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