#316AB7#316AB7

#316AB7 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.135 H 256.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#316AB7
RGBrgb(49, 106, 183)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 73%, 72%)
CMYKcmyk(73.2%, 42.1%, 0%, 28.2%)
CIE-LABlab(44.77, 8.05, -46.13)
CIE-LCHlch(44.77, 46.83, 279.89°)
OKLaboklab(52.6% -0.0309 -0.1318)
OKLCHoklch(52.6% 0.135 256.8)
XYZxyz(14.9648, 14.3783, 46.7772)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AB7 #B77E31
analogous
#31ADB7 #316AB7 #3B31B7
triadic
#316AB7 #B7316A #6AB731
tetradic
#316AB7 #B731AD #B77E31 #31B73B
square
#316AB7 #B731AD #B77E31 #31B73B
split-complementary
#316AB7 #B73B31 #ADB731
monochromatic
#173256 #244E87 #316AB7 #5489D1 #84AADE

Accessibility & contrast

On white

5.42
#316AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#316AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AB7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AB7#FFFFFF#000000##FFFFFF
##316AB71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316ab7;
/* rgb */ color: rgb(49, 106, 183);
/* oklch */ color: oklch(52.6% 0.135 256.8);
Tailwind
colors: {
  custom: {
    50: '#7a94cd',
    500: '#316ab7',
    950: '#000000',
  },
}
SCSS
$custom: #316ab7;
$custom-light: #7a94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#316ab7",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 183
  },
  "hsl": {
    "h": 214.478,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.13541,
    "h": 256.8
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#316AB7
secondary
#C8A87C
accent
#9F47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #316AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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