#316EC3#316EC3

#316EC3 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.3% C 0.147 H 257.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#316EC3
RGBrgb(49, 110, 195)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(74.9%, 43.6%, 0%, 23.5%)
CIE-LABlab(46.64, 10.01, -50.10)
CIE-LCHlch(46.64, 51.09, 281.29°)
OKLaboklab(54.28% -0.032 -0.1434)
OKLCHoklch(54.28% 0.147 257.4)
XYZxyz(16.6893, 15.7431, 53.7783)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EC3 #C38631
analogous
#31B7C3 #316EC3 #3D31C3
triadic
#316EC3 #C3316E #6EC331
tetradic
#316EC3 #C331B7 #C38631 #31C33D
square
#316EC3 #C331B7 #C38631 #31C33D
split-complementary
#316EC3 #C33D31 #B7C331
monochromatic
#183761 #255292 #316EC3 #5B8FD6 #8CB0E2

Accessibility & contrast

On white

5.06
#316EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#316EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EC3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EC3#FFFFFF#000000##FFFFFF
##316EC31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C6
Deuteranopia (green-blind)
#2868C1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316ec3;
/* rgb */ color: rgb(49, 110, 195);
/* oklch */ color: oklch(54.3% 0.147 257.4);
Tailwind
colors: {
  custom: {
    50: '#7d97d6',
    500: '#316ec3',
    950: '#000000',
  },
}
SCSS
$custom: #316ec3;
$custom-light: #7d97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#316ec3",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 214.932,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.14695,
    "h": 257.4
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#316EC3
secondary
#CCAE83
accent
#A145E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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