#316FB8#316FB8

#316FB8 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.131 H 254.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#316FB8
RGBrgb(49, 111, 184)
HSLhsl(212, 58%, 46%)
HSVhsv(212, 73%, 72%)
CMYKcmyk(73.4%, 39.7%, 0%, 27.8%)
CIE-LABlab(46.29, 5.28, -44.30)
CIE-LCHlch(46.29, 44.61, 276.80°)
OKLaboklab(53.8% -0.0353 -0.1264)
OKLCHoklch(53.8% 0.131 254.4)
XYZxyz(15.5996, 15.4808, 47.5041)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB8 #B87A31
analogous
#31B3B8 #316FB8 #3631B8
triadic
#316FB8 #B8316F #6FB831
tetradic
#316FB8 #B831B3 #B87A31 #31B836
square
#316FB8 #B831B3 #B87A31 #31B836
split-complementary
#316FB8 #B83631 #B3B831
monochromatic
#173557 #245288 #316FB8 #558ED2 #85AEDE

Accessibility & contrast

On white

5.13
#316FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#316FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB8#FFFFFF#000000##FFFFFF
##316FB81.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BB
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316fb8;
/* rgb */ color: rgb(49, 111, 184);
/* oklch */ color: oklch(53.8% 0.131 254.4);
Tailwind
colors: {
  custom: {
    50: '#7b97ce',
    500: '#316fb8',
    950: '#000000',
  },
}
SCSS
$custom: #316fb8;
$custom-light: #7b97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb8",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 184
  },
  "hsl": {
    "h": 212.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.538,
    "c": 0.13121,
    "h": 254.4
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#316FB8
secondary
#C8A57D
accent
#9A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #316FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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