#316DBB#316DBB

#316DBB is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.137 H 256.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#316DBB
RGBrgb(49, 109, 187)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(73.8%, 41.7%, 0%, 26.7%)
CIE-LABlab(45.87, 7.65, -46.69)
CIE-LCHlch(45.87, 47.32, 279.30°)
OKLaboklab(53.54% -0.0328 -0.1334)
OKLCHoklch(53.54% 0.137 256.2)
XYZxyz(15.7016, 15.1764, 49.1059)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DBB #BB7F31
analogous
#31B2BB #316DBB #3A31BB
triadic
#316DBB #BB316D #6DBB31
tetradic
#316DBB #BB31B2 #BB7F31 #31BB3A
square
#316DBB #BB31B2 #BB7F31 #31BB3A
split-complementary
#316DBB #BB3A31 #B2BB31
monochromatic
#18345A #24518B #316DBB #568CD3 #87ADE0

Accessibility & contrast

On white

5.20
#316DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#316DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316DBB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316DBB#FFFFFF#000000##FFFFFF
##316DBB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316dbb;
/* rgb */ color: rgb(49, 109, 187);
/* oklch */ color: oklch(53.5% 0.137 256.2);
Tailwind
colors: {
  custom: {
    50: '#7b96d0',
    500: '#316dbb',
    950: '#000000',
  },
}
SCSS
$custom: #316dbb;
$custom-light: #7b96d0;
$custom-dark: #000000;
JSON
{
  "hex": "#316dbb",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 213.913,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.1374,
    "h": 256.2
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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