#316FBF#316FBF

#316FBF is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.140 H 256.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#316FBF
RGBrgb(49, 111, 191)
HSLhsl(214, 59%, 47%)
HSVhsv(214, 74%, 75%)
CMYKcmyk(74.3%, 41.9%, 0%, 25.1%)
CIE-LABlab(46.69, 7.88, -47.71)
CIE-LCHlch(46.69, 48.36, 279.38°)
OKLaboklab(54.24% -0.0337 -0.1364)
OKLCHoklch(54.24% 0.14 256.1)
XYZxyz(16.3516, 15.7816, 51.4645)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FBF #BF8131
analogous
#31B6BF #316FBF #3A31BF
triadic
#316FBF #BF316F #6FBF31
tetradic
#316FBF #BF31B6 #BF8131 #31BF3A
square
#316FBF #BF31B6 #BF8131 #31BF3A
split-complementary
#316FBF #BF3A31 #B6BF31
monochromatic
#18365E #25538E #316FBF #598FD4 #8AB0E1

Accessibility & contrast

On white

5.05
#316FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#316FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FBF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FBF#FFFFFF#000000##FFFFFF
##316FBF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#3069BD
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #316fbf;
/* rgb */ color: rgb(49, 111, 191);
/* oklch */ color: oklch(54.2% 0.140 256.1);
Tailwind
colors: {
  custom: {
    50: '#7c97d3',
    500: '#316fbf',
    950: '#000000',
  },
}
SCSS
$custom: #316fbf;
$custom-light: #7c97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#316fbf",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 213.803,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54242,
    "c": 0.14049,
    "h": 256.1
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#316FBF
secondary
#CBAB81
accent
#9E45E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #316FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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