#316FBD#316FBD

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

Color values

HEX#316FBD
RGBrgb(49, 111, 189)
HSLhsl(213, 59%, 47%)
HSVhsv(213, 74%, 74%)
CMYKcmyk(74.1%, 41.3%, 0%, 25.9%)
CIE-LABlab(46.57, 7.14, -46.74)
CIE-LCHlch(46.57, 47.28, 278.68°)
OKLaboklab(54.11% -0.0341 -0.1335)
OKLCHoklch(54.11% 0.138 255.7)
XYZxyz(16.1330, 15.6942, 50.3133)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FBD #BD7F31
analogous
#31B5BD #316FBD #3931BD
triadic
#316FBD #BD316F #6FBD31
tetradic
#316FBD #BD31B5 #BD7F31 #31BD39
square
#316FBD #BD31B5 #BD7F31 #31BD39
split-complementary
#316FBD #BD3931 #B5BD31
monochromatic
#18365C #24528C #316FBD #588FD4 #88AFE0

Accessibility & contrast

On white

5.07
#316FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#316FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FBD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FBD#FFFFFF#000000##FFFFFF
##316FBD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75C0
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #316fbd;
/* rgb */ color: rgb(49, 111, 189);
/* oklch */ color: oklch(54.1% 0.138 255.7);
Tailwind
colors: {
  custom: {
    50: '#7c97d1',
    500: '#316fbd',
    950: '#000000',
  },
}
SCSS
$custom: #316fbd;
$custom-light: #7c97d1;
$custom-dark: #000000;
JSON
{
  "hex": "#316fbd",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 213.429,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.13784,
    "h": 255.7
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#316FBD
secondary
#CAA980
accent
#9D46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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