#316AB6#316AB6

#316AB6 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.5% C 0.134 H 256.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#316AB6
RGBrgb(49, 106, 182)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 73%, 71%)
CMYKcmyk(73.1%, 41.8%, 0%, 28.6%)
CIE-LABlab(44.71, 7.67, -45.65)
CIE-LCHlch(44.71, 46.29, 279.54°)
OKLaboklab(52.54% -0.0311 -0.1304)
OKLCHoklch(52.54% 0.134 256.6)
XYZxyz(14.8611, 14.3368, 46.2310)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AB6 #B67D31
analogous
#31ACB6 #316AB6 #3B31B6
triadic
#316AB6 #B6316A #6AB631
tetradic
#316AB6 #B631AC #B67D31 #31B63B
square
#316AB6 #B631AC #B67D31 #31B63B
split-complementary
#316AB6 #B63B31 #ACB631
monochromatic
#173256 #244E86 #316AB6 #5389D1 #84AADE

Accessibility & contrast

On white

5.43
#316AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#316AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AB6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AB6#FFFFFF#000000##FFFFFF
##316AB61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B9
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316ab6;
/* rgb */ color: rgb(49, 106, 182);
/* oklch */ color: oklch(52.5% 0.134 256.6);
Tailwind
colors: {
  custom: {
    50: '#7a94cc',
    500: '#316ab6',
    950: '#000000',
  },
}
SCSS
$custom: #316ab6;
$custom-light: #7a94cc;
$custom-dark: #000000;
JSON
{
  "hex": "#316ab6",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 182
  },
  "hsl": {
    "h": 214.286,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.13406,
    "h": 256.6
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#316AB6
secondary
#C7A77C
accent
#9F47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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