#316FB3#316FB3

#316FB3 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.125 H 253.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#316FB3
RGBrgb(49, 111, 179)
HSLhsl(211, 57%, 45%)
HSVhsv(211, 73%, 70%)
CMYKcmyk(72.6%, 38%, 0%, 29.8%)
CIE-LABlab(46.01, 3.43, -41.83)
CIE-LCHlch(46.01, 41.98, 274.69°)
OKLaboklab(53.49% -0.0365 -0.1191)
OKLCHoklch(53.49% 0.125 253)
XYZxyz(15.0847, 15.2749, 44.7924)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB3 #B37531
analogous
#31B0B3 #316FB3 #3431B3
triadic
#316FB3 #B3316F #6FB331
tetradic
#316FB3 #B331B0 #B37531 #31B334
square
#316FB3 #B331B0 #B37531 #31B334
split-complementary
#316FB3 #B33431 #B0B331
monochromatic
#173353 #245183 #316FB3 #528ED0 #82ADDD

Accessibility & contrast

On white

5.18
#316FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#316FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB3#FFFFFF#000000##FFFFFF
##316FB31.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#3C67B2
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316fb3;
/* rgb */ color: rgb(49, 111, 179);
/* oklch */ color: oklch(53.5% 0.125 253.0);
Tailwind
colors: {
  custom: {
    50: '#7a97ca',
    500: '#316fb3',
    950: '#000000',
  },
}
SCSS
$custom: #316fb3;
$custom-light: #7a97ca;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb3",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 179
  },
  "hsl": {
    "h": 211.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.12461,
    "h": 253
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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