#316AB2#316AB2

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

Color values

HEX#316AB2
RGBrgb(49, 106, 178)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 72%, 70%)
CMYKcmyk(72.5%, 40.4%, 0%, 30.2%)
CIE-LABlab(44.48, 6.19, -43.68)
CIE-LCHlch(44.48, 44.12, 278.06°)
OKLaboklab(52.29% -0.032 -0.1246)
OKLCHoklch(52.29% 0.129 255.6)
XYZxyz(14.4536, 14.1738, 44.0849)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AB2 #B27931
analogous
#31ABB2 #316AB2 #3831B2
triadic
#316AB2 #B2316A #6AB231
tetradic
#316AB2 #B231AB #B27931 #31B238
square
#316AB2 #B231AB #B27931 #31B238
split-complementary
#316AB2 #B23831 #ABB231
monochromatic
#173152 #244D82 #316AB2 #5189CF #81A9DC

Accessibility & contrast

On white

5.48
#316AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#316AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AB2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AB2#FFFFFF#000000##FFFFFF
##316AB21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316ab2;
/* rgb */ color: rgb(49, 106, 178);
/* oklch */ color: oklch(52.3% 0.129 255.6);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#316ab2',
    950: '#000000',
  },
}
SCSS
$custom: #316ab2;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#316ab2",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 213.488,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.12868,
    "h": 255.6
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#316AB2
secondary
#C5A479
accent
#9D48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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