#316CB7#316CB7

#316CB7 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.133 H 255.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#316CB7
RGBrgb(49, 108, 183)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 73%, 72%)
CMYKcmyk(73.2%, 41%, 0%, 28.2%)
CIE-LABlab(45.35, 6.79, -45.21)
CIE-LCHlch(45.35, 45.71, 278.54°)
OKLaboklab(53.06% -0.0327 -0.1291)
OKLCHoklch(53.06% 0.133 255.8)
XYZxyz(15.1733, 14.7953, 46.8467)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB7 #B77C31
analogous
#31AFB7 #316CB7 #3931B7
triadic
#316CB7 #B7316C #6CB731
tetradic
#316CB7 #B731AF #B77C31 #31B739
square
#316CB7 #B731AF #B77C31 #31B739
split-complementary
#316CB7 #B73931 #AFB731
monochromatic
#173356 #245087 #316CB7 #548BD1 #84ACDE

Accessibility & contrast

On white

5.30
#316CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#316CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB7#FFFFFF#000000##FFFFFF
##316CB71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3266B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316cb7;
/* rgb */ color: rgb(49, 108, 183);
/* oklch */ color: oklch(53.1% 0.133 255.8);
Tailwind
colors: {
  custom: {
    50: '#7a95cd',
    500: '#316cb7',
    950: '#000000',
  },
}
SCSS
$custom: #316cb7;
$custom-light: #7a95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb7",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 213.582,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.13316,
    "h": 255.8
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#316CB7
secondary
#C8A67C
accent
#9D47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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