#316AB3#316AB3

#316AB3 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.130 H 255.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#316AB3
RGBrgb(49, 106, 179)
HSLhsl(214, 57%, 45%)
HSVhsv(214, 73%, 70%)
CMYKcmyk(72.6%, 40.8%, 0%, 29.8%)
CIE-LABlab(44.54, 6.56, -44.17)
CIE-LCHlch(44.54, 44.66, 278.44°)
OKLaboklab(52.35% -0.0318 -0.1261)
OKLCHoklch(52.35% 0.13 255.9)
XYZxyz(14.5544, 14.2141, 44.6156)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AB3 #B37A31
analogous
#31ABB3 #316AB3 #3931B3
triadic
#316AB3 #B3316A #6AB331
tetradic
#316AB3 #B331AB #B37A31 #31B339
square
#316AB3 #B331AB #B37A31 #31B339
split-complementary
#316AB3 #B33931 #ABB331
monochromatic
#173153 #244E83 #316AB3 #5289D0 #82AADD

Accessibility & contrast

On white

5.46
#316AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#316AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AB3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AB3#FFFFFF#000000##FFFFFF
##316AB31.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316ab3;
/* rgb */ color: rgb(49, 106, 179);
/* oklch */ color: oklch(52.3% 0.130 255.9);
Tailwind
colors: {
  custom: {
    50: '#7a94ca',
    500: '#316ab3',
    950: '#000000',
  },
}
SCSS
$custom: #316ab3;
$custom-light: #7a94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#316ab3",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 179
  },
  "hsl": {
    "h": 213.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.13002,
    "h": 255.9
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#316AB3
secondary
#C6A57A
accent
#9D48E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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