#316CB9#316CB9

#316CB9 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.136 H 256.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#316CB9
RGBrgb(49, 108, 185)
HSLhsl(214, 58%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(73.5%, 41.6%, 0%, 27.5%)
CIE-LABlab(45.47, 7.53, -46.18)
CIE-LCHlch(45.47, 46.79, 279.26°)
OKLaboklab(53.18% -0.0323 -0.132)
OKLCHoklch(53.18% 0.136 256.2)
XYZxyz(15.3829, 14.8792, 47.9508)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB9 #B97E31
analogous
#31B0B9 #316CB9 #3A31B9
triadic
#316CB9 #B9316C #6CB931
tetradic
#316CB9 #B931B0 #B97E31 #31B93A
square
#316CB9 #B931B0 #B97E31 #31B93A
split-complementary
#316CB9 #B93A31 #B0B931
monochromatic
#173458 #245089 #316CB9 #558BD2 #86ACDF

Accessibility & contrast

On white

5.28
#316CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#316CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB9#FFFFFF#000000##FFFFFF
##316CB91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#3066B7
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316cb9;
/* rgb */ color: rgb(49, 108, 185);
/* oklch */ color: oklch(53.2% 0.136 256.2);
Tailwind
colors: {
  custom: {
    50: '#7b95ce',
    500: '#316cb9',
    950: '#000000',
  },
}
SCSS
$custom: #316cb9;
$custom-light: #7b95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb9",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 213.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.13584,
    "h": 256.2
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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