#316FB7#316FB7

#316FB7 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.130 H 254.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#316FB7
RGBrgb(49, 111, 183)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 72%)
CMYKcmyk(73.2%, 39.3%, 0%, 28.2%)
CIE-LABlab(46.23, 4.91, -43.81)
CIE-LCHlch(46.23, 44.08, 276.40°)
OKLaboklab(53.74% -0.0355 -0.1249)
OKLCHoklch(53.74% 0.13 254.1)
XYZxyz(15.4951, 15.4390, 46.9540)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB7 #B77931
analogous
#31B2B7 #316FB7 #3631B7
triadic
#316FB7 #B7316F #6FB731
tetradic
#316FB7 #B731B2 #B77931 #31B736
square
#316FB7 #B731B2 #B77931 #31B736
split-complementary
#316FB7 #B73631 #B2B731
monochromatic
#173456 #245287 #316FB7 #548ED1 #84AEDE

Accessibility & contrast

On white

5.14
#316FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#316FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB7#FFFFFF#000000##FFFFFF
##316FB71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316fb7;
/* rgb */ color: rgb(49, 111, 183);
/* oklch */ color: oklch(53.7% 0.130 254.1);
Tailwind
colors: {
  custom: {
    50: '#7a97cd',
    500: '#316fb7',
    950: '#000000',
  },
}
SCSS
$custom: #316fb7;
$custom-light: #7a97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb7",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 212.239,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.12988,
    "h": 254.1
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #316FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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