#316FBB#316FBB

#316FBB is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.135 H 255.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#316FBB
RGBrgb(49, 111, 187)
HSLhsl(213, 58%, 46%)
HSVhsv(213, 74%, 73%)
CMYKcmyk(73.8%, 40.6%, 0%, 26.7%)
CIE-LABlab(46.46, 6.40, -45.77)
CIE-LCHlch(46.46, 46.21, 277.95°)
OKLaboklab(53.99% -0.0346 -0.1307)
OKLCHoklch(53.99% 0.135 255.2)
XYZxyz(15.9174, 15.6079, 49.1778)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FBB #BB7D31
analogous
#31B4BB #316FBB #3831BB
triadic
#316FBB #BB316F #6FBB31
tetradic
#316FBB #BB31B4 #BB7D31 #31BB38
square
#316FBB #BB31B4 #BB7D31 #31BB38
split-complementary
#316FBB #BB3831 #B4BB31
monochromatic
#18355A #24528B #316FBB #568ED3 #87AFE0

Accessibility & contrast

On white

5.09
#316FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#316FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FBB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FBB#FFFFFF#000000##FFFFFF
##316FBB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316fbb;
/* rgb */ color: rgb(49, 111, 187);
/* oklch */ color: oklch(54.0% 0.135 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b97d0',
    500: '#316fbb',
    950: '#000000',
  },
}
SCSS
$custom: #316fbb;
$custom-light: #7b97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#316fbb",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 213.043,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.13518,
    "h": 255.2
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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