#316EC1#316EC1

#316EC1 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.144 H 257.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#316EC1
RGBrgb(49, 110, 193)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.6%, 43%, 0%, 24.3%)
CIE-LABlab(46.52, 9.26, -49.14)
CIE-LCHlch(46.52, 50.00, 280.67°)
OKLaboklab(54.15% -0.0324 -0.1406)
OKLCHoklch(54.15% 0.144 257)
XYZxyz(16.4647, 15.6532, 52.5954)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EC1 #C18431
analogous
#31B6C1 #316EC1 #3C31C1
triadic
#316EC1 #C1316E #6EC131
tetradic
#316EC1 #C131B6 #C18431 #31C13C
square
#316EC1 #C131B6 #C18431 #31C13C
split-complementary
#316EC1 #C13C31 #B6C131
monochromatic
#18365F #255290 #316EC1 #5A8ED5 #8BB0E2

Accessibility & contrast

On white

5.08
#316EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#316EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EC1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EC1#FFFFFF#000000##FFFFFF
##316EC11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4575C4
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316ec1;
/* rgb */ color: rgb(49, 110, 193);
/* oklch */ color: oklch(54.1% 0.144 257.0);
Tailwind
colors: {
  custom: {
    50: '#7c97d4',
    500: '#316ec1',
    950: '#000000',
  },
}
SCSS
$custom: #316ec1;
$custom-light: #7c97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#316ec1",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 214.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.14429,
    "h": 257
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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