#316FBA#316FBA

#316FBA is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.134 H 254.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#316FBA
RGBrgb(49, 111, 186)
HSLhsl(213, 58%, 46%)
HSVhsv(213, 74%, 73%)
CMYKcmyk(73.7%, 40.3%, 0%, 27.1%)
CIE-LABlab(46.40, 6.02, -45.28)
CIE-LCHlch(46.40, 45.68, 277.58°)
OKLaboklab(53.93% -0.0348 -0.1292)
OKLCHoklch(53.93% 0.134 254.9)
XYZxyz(15.8107, 15.5653, 48.6160)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FBA #BA7C31
analogous
#31B3BA #316FBA #3731BA
triadic
#316FBA #BA316F #6FBA31
tetradic
#316FBA #BA31B3 #BA7C31 #31BA37
square
#316FBA #BA31B3 #BA7C31 #31BA37
split-complementary
#316FBA #BA3731 #B3BA31
monochromatic
#173559 #24528A #316FBA #568ED2 #86AEDF

Accessibility & contrast

On white

5.11
#316FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#316FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FBA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FBA#FFFFFF#000000##FFFFFF
##316FBA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316fba;
/* rgb */ color: rgb(49, 111, 186);
/* oklch */ color: oklch(53.9% 0.134 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b97cf',
    500: '#316fba',
    950: '#000000',
  },
}
SCSS
$custom: #316fba;
$custom-light: #7b97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#316fba",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 212.847,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.13385,
    "h": 254.9
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#316FBA
secondary
#C9A77E
accent
#9B46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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