#316EB6#316EB6

#316EB6 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.130 H 254.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#316EB6
RGBrgb(49, 110, 182)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.1%, 39.6%, 0%, 28.6%)
CIE-LABlab(45.88, 5.16, -43.78)
CIE-LCHlch(45.88, 44.09, 276.73°)
OKLaboklab(53.45% -0.0348 -0.1249)
OKLCHoklch(53.45% 0.13 254.4)
XYZxyz(15.2829, 15.1805, 46.3716)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EB6 #B67931
analogous
#31B1B6 #316EB6 #3631B6
triadic
#316EB6 #B6316E #6EB631
tetradic
#316EB6 #B631B1 #B67931 #31B636
square
#316EB6 #B631B1 #B67931 #31B636
split-complementary
#316EB6 #B63631 #B1B631
monochromatic
#173456 #245186 #316EB6 #538DD1 #84ADDE

Accessibility & contrast

On white

5.20
#316EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#316EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EB6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EB6#FFFFFF#000000##FFFFFF
##316EB61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#3767B5
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316eb6;
/* rgb */ color: rgb(49, 110, 182);
/* oklch */ color: oklch(53.4% 0.130 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a97cc',
    500: '#316eb6',
    950: '#000000',
  },
}
SCSS
$custom: #316eb6;
$custom-light: #7a97cc;
$custom-dark: #000000;
JSON
{
  "hex": "#316eb6",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 212.481,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.12964,
    "h": 254.4
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#316EB6
secondary
#C7A57C
accent
#9A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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