#316796#316796

#316796 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.9% C 0.095 H 247.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#316796
RGBrgb(49, 103, 150)
HSLhsl(208, 51%, 39%)
HSVhsv(208, 67%, 59%)
CMYKcmyk(67.3%, 31.3%, 0%, 41.2%)
CIE-LABlab(42.08, -2.21, -30.94)
CIE-LCHlch(42.08, 31.02, 265.92°)
OKLaboklab(49.92% -0.0365 -0.0874)
OKLCHoklch(49.92% 0.095 247.3)
XYZxyz(11.6198, 12.5543, 30.6591)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316796 #966031
analogous
#319693 #316796 #313496
triadic
#316796 #963167 #679631
tetradic
#316796 #933196 #966031 #349631
square
#316796 #933196 #966031 #349631
split-complementary
#316796 #963134 #969331
monochromatic
#13283A #224768 #316796 #4386C1 #71A4D1

Accessibility & contrast

On white

5.98
#316796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#316796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316796
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316796#FFFFFF#000000##FFFFFF
##3167961.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #316796;
/* rgb */ color: rgb(49, 103, 150);
/* oklch */ color: oklch(49.9% 0.095 247.3);
Tailwind
colors: {
  custom: {
    50: '#7492b5',
    500: '#316796',
    950: '#000000',
  },
}
SCSS
$custom: #316796;
$custom-light: #7492b5;
$custom-dark: #000000;
JSON
{
  "hex": "#316796",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 207.921,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.09476,
    "h": 247.3
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#316796
secondary
#B88F6A
accent
#8F4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316796

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

Preview Lab → · Contrast checker → · Palette generator →

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