#316BB9#316BB9

#316BB9 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.137 H 256.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#316BB9
RGBrgb(49, 107, 185)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(73.5%, 42.2%, 0%, 27.5%)
CIE-LABlab(45.18, 8.16, -46.65)
CIE-LCHlch(45.18, 47.36, 279.93°)
OKLaboklab(52.96% -0.0314 -0.1333)
OKLCHoklch(52.96% 0.137 256.8)
XYZxyz(15.2781, 14.6694, 47.9158)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB9 #B97F31
analogous
#31AFB9 #316BB9 #3B31B9
triadic
#316BB9 #B9316B #6BB931
tetradic
#316BB9 #B931AF #B97F31 #31B93B
square
#316BB9 #B931AF #B97F31 #31B93B
split-complementary
#316BB9 #B93B31 #AFB931
monochromatic
#173358 #244F89 #316BB9 #558AD2 #86ACDF

Accessibility & contrast

On white

5.34
#316BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#316BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BB9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB9#FFFFFF#000000##FFFFFF
##316BB91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316bb9;
/* rgb */ color: rgb(49, 107, 185);
/* oklch */ color: oklch(53.0% 0.137 256.8);
Tailwind
colors: {
  custom: {
    50: '#7b94ce',
    500: '#316bb9',
    950: '#000000',
  },
}
SCSS
$custom: #316bb9;
$custom-light: #7b94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb9",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 214.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.13697,
    "h": 256.8
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

primary
#316BB9
secondary
#C8A87D
accent
#9F46E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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