#316EB2#316EB2

#316EB2 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.124 H 253.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#316EB2
RGBrgb(49, 110, 178)
HSLhsl(212, 57%, 45%)
HSVhsv(212, 72%, 70%)
CMYKcmyk(72.5%, 38.2%, 0%, 30.2%)
CIE-LABlab(45.66, 3.68, -41.81)
CIE-LCHlch(45.66, 41.97, 275.04°)
OKLaboklab(53.2% -0.0358 -0.1191)
OKLCHoklch(53.2% 0.124 253.3)
XYZxyz(14.8755, 15.0175, 44.2256)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EB2 #B27531
analogous
#31AFB2 #316EB2 #3531B2
triadic
#316EB2 #B2316E #6EB231
tetradic
#316EB2 #B231AF #B27531 #31B235
square
#316EB2 #B231AF #B27531 #31B235
split-complementary
#316EB2 #B23531 #AFB231
monochromatic
#173352 #245082 #316EB2 #518DCF #81ACDC

Accessibility & contrast

On white

5.25
#316EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#316EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EB2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EB2#FFFFFF#000000##FFFFFF
##316EB21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316eb2;
/* rgb */ color: rgb(49, 110, 178);
/* oklch */ color: oklch(53.2% 0.124 253.3);
Tailwind
colors: {
  custom: {
    50: '#7997c9',
    500: '#316eb2',
    950: '#000000',
  },
}
SCSS
$custom: #316eb2;
$custom-light: #7997c9;
$custom-dark: #000000;
JSON
{
  "hex": "#316eb2",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 211.628,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.12435,
    "h": 253.3
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#316EB2
secondary
#C5A179
accent
#9848E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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