#316EB3#316EB3

#316EB3 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.126 H 253.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#316EB3
RGBrgb(49, 110, 179)
HSLhsl(212, 57%, 45%)
HSVhsv(212, 73%, 70%)
CMYKcmyk(72.6%, 38.5%, 0%, 29.8%)
CIE-LABlab(45.71, 4.05, -42.30)
CIE-LCHlch(45.71, 42.50, 275.47°)
OKLaboklab(53.26% -0.0355 -0.1205)
OKLCHoklch(53.26% 0.126 253.6)
XYZxyz(14.9762, 15.0579, 44.7563)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EB3 #B37631
analogous
#31AFB3 #316EB3 #3531B3
triadic
#316EB3 #B3316E #6EB331
tetradic
#316EB3 #B331AF #B37631 #31B335
square
#316EB3 #B331AF #B37631 #31B335
split-complementary
#316EB3 #B33531 #AFB331
monochromatic
#173353 #245083 #316EB3 #528DD0 #82ACDD

Accessibility & contrast

On white

5.23
#316EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#316EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EB3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EB3#FFFFFF#000000##FFFFFF
##316EB31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316eb3;
/* rgb */ color: rgb(49, 110, 179);
/* oklch */ color: oklch(53.3% 0.126 253.6);
Tailwind
colors: {
  custom: {
    50: '#7a97ca',
    500: '#316eb3',
    950: '#000000',
  },
}
SCSS
$custom: #316eb3;
$custom-light: #7a97ca;
$custom-dark: #000000;
JSON
{
  "hex": "#316eb3",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 211.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.12566,
    "h": 253.6
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#316EB3
secondary
#C6A27A
accent
#9948E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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