#316BB6#316BB6

#316BB6 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.8% C 0.133 H 256.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#316BB6
RGBrgb(49, 107, 182)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 73%, 71%)
CMYKcmyk(73.1%, 41.2%, 0%, 28.6%)
CIE-LABlab(45.00, 7.04, -45.18)
CIE-LCHlch(45.00, 45.73, 278.86°)
OKLaboklab(52.76% -0.032 -0.129)
OKLCHoklch(52.76% 0.133 256.1)
XYZxyz(14.9647, 14.5441, 46.2655)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB6 #B67C31
analogous
#31ADB6 #316BB6 #3A31B6
triadic
#316BB6 #B6316B #6BB631
tetradic
#316BB6 #B631AD #B67C31 #31B63A
square
#316BB6 #B631AD #B67C31 #31B63A
split-complementary
#316BB6 #B63A31 #ADB631
monochromatic
#173256 #244F86 #316BB6 #538AD1 #84ABDE

Accessibility & contrast

On white

5.37
#316BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#316BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BB6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB6#FFFFFF#000000##FFFFFF
##316BB61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#3165B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316bb6;
/* rgb */ color: rgb(49, 107, 182);
/* oklch */ color: oklch(52.8% 0.133 256.1);
Tailwind
colors: {
  custom: {
    50: '#7a94cc',
    500: '#316bb6',
    950: '#000000',
  },
}
SCSS
$custom: #316bb6;
$custom-light: #7a94cc;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb6",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 213.835,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.13294,
    "h": 256.1
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#316BB6
secondary
#C7A67C
accent
#9E47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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