#316CBB#316CBB

#316CBB is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.139 H 256.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#316CBB
RGBrgb(49, 108, 187)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(73.8%, 42.2%, 0%, 26.7%)
CIE-LABlab(45.59, 8.28, -47.16)
CIE-LCHlch(45.59, 47.88, 279.96°)
OKLaboklab(53.31% -0.0319 -0.1348)
OKLCHoklch(53.31% 0.139 256.7)
XYZxyz(15.5955, 14.9642, 49.0705)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CBB #BB8031
analogous
#31B1BB #316CBB #3B31BB
triadic
#316CBB #BB316C #6CBB31
tetradic
#316CBB #BB31B1 #BB8031 #31BB3B
square
#316CBB #BB31B1 #BB8031 #31BB3B
split-complementary
#316CBB #BB3B31 #B1BB31
monochromatic
#18345A #24508B #316CBB #568CD3 #87ADE0

Accessibility & contrast

On white

5.26
#316CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#316CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CBB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CBB#FFFFFF#000000##FFFFFF
##316CBB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316cbb;
/* rgb */ color: rgb(49, 108, 187);
/* oklch */ color: oklch(53.3% 0.139 256.7);
Tailwind
colors: {
  custom: {
    50: '#7b95d0',
    500: '#316cbb',
    950: '#000000',
  },
}
SCSS
$custom: #316cbb;
$custom-light: #7b95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#316cbb",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 214.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.13853,
    "h": 256.7
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#316CBB
secondary
#C9A97F
accent
#9F46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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