#316FBC#316FBC

#316FBC is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.137 H 255.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#316FBC
RGBrgb(49, 111, 188)
HSLhsl(213, 59%, 46%)
HSVhsv(213, 74%, 74%)
CMYKcmyk(73.9%, 41%, 0%, 26.3%)
CIE-LABlab(46.51, 6.77, -46.25)
CIE-LCHlch(46.51, 46.75, 278.32°)
OKLaboklab(54.05% -0.0344 -0.1321)
OKLCHoklch(54.05% 0.137 255.4)
XYZxyz(16.0248, 15.6509, 49.7436)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FBC #BC7E31
analogous
#31B5BC #316FBC #3831BC
triadic
#316FBC #BC316F #6FBC31
tetradic
#316FBC #BC31B5 #BC7E31 #31BC38
square
#316FBC #BC31B5 #BC7E31 #31BC38
split-complementary
#316FBC #BC3831 #B5BC31
monochromatic
#18365B #24528B #316FBC #578ED3 #88AFE0

Accessibility & contrast

On white

5.08
#316FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#316FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FBC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FBC#FFFFFF#000000##FFFFFF
##316FBC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316fbc;
/* rgb */ color: rgb(49, 111, 188);
/* oklch */ color: oklch(54.1% 0.137 255.4);
Tailwind
colors: {
  custom: {
    50: '#7b97d0',
    500: '#316fbc',
    950: '#000000',
  },
}
SCSS
$custom: #316fbc;
$custom-light: #7b97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#316fbc",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 213.237,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.13651,
    "h": 255.4
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#316FBC
secondary
#CAA87F
accent
#9C46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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