#316EB7#316EB7

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

Color values

HEX#316EB7
RGBrgb(49, 110, 183)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 72%)
CMYKcmyk(73.2%, 39.9%, 0%, 28.2%)
CIE-LABlab(45.94, 5.53, -44.27)
CIE-LCHlch(45.94, 44.62, 277.12°)
OKLaboklab(53.51% -0.0346 -0.1263)
OKLCHoklch(53.51% 0.131 254.7)
XYZxyz(15.3866, 15.2220, 46.9178)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EB7 #B77A31
analogous
#31B1B7 #316EB7 #3731B7
triadic
#316EB7 #B7316E #6EB731
tetradic
#316EB7 #B731B1 #B77A31 #31B737
square
#316EB7 #B731B1 #B77A31 #31B737
split-complementary
#316EB7 #B73731 #B1B731
monochromatic
#173456 #245187 #316EB7 #548DD1 #84ADDE

Accessibility & contrast

On white

5.19
#316EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316EB7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EB7#FFFFFF#000000##FFFFFF
##316EB71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#3667B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316eb7;
/* rgb */ color: rgb(49, 110, 183);
/* oklch */ color: oklch(53.5% 0.131 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a97cd',
    500: '#316eb7',
    950: '#000000',
  },
}
SCSS
$custom: #316eb7;
$custom-light: #7a97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#316eb7",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 212.687,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.13096,
    "h": 254.7
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#316EB7
secondary
#C8A57C
accent
#9B47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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