#316797#316797

#316797 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.096 H 247.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#316797
RGBrgb(49, 103, 151)
HSLhsl(208, 51%, 39%)
HSVhsv(208, 68%, 59%)
CMYKcmyk(67.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.13, -1.85, -31.46)
CIE-LCHlch(42.13, 31.52, 266.64°)
OKLaboklab(49.98% -0.0362 -0.0889)
OKLCHoklch(49.98% 0.096 247.8)
XYZxyz(11.7007, 12.5866, 31.0850)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316797 #976131
analogous
#319794 #316797 #313497
triadic
#316797 #973167 #679731
tetradic
#316797 #943197 #976131 #349731
square
#316797 #943197 #976131 #349731
split-complementary
#316797 #973134 #979431
monochromatic
#13283B #224769 #316797 #4386C2 #71A4D1

Accessibility & contrast

On white

5.97
#316797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#316797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316797
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316797#FFFFFF#000000##FFFFFF
##3167971.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316797;
/* rgb */ color: rgb(49, 103, 151);
/* oklch */ color: oklch(50.0% 0.096 247.8);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#316797',
    950: '#000000',
  },
}
SCSS
$custom: #316797;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#316797",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 208.235,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.09604,
    "h": 247.8
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#316797
secondary
#B9906B
accent
#904DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316797

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

Preview Lab → · Contrast checker → · Palette generator →

#316797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva