#316196#316196

#316196 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.5% C 0.101 H 252.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#316196
RGBrgb(49, 97, 150)
HSLhsl(211, 51%, 39%)
HSVhsv(211, 67%, 59%)
CMYKcmyk(67.3%, 35.3%, 0%, 41.2%)
CIE-LABlab(40.25, 1.53, -33.83)
CIE-LCHlch(40.25, 33.86, 272.58°)
OKLaboklab(48.48% -0.0301 -0.0959)
OKLCHoklch(48.48% 0.101 252.6)
XYZxyz(11.0443, 11.4033, 30.4673)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316196 #966631
analogous
#319496 #316196 #343196
triadic
#316196 #963161 #619631
tetradic
#316196 #963194 #966631 #319634
square
#316196 #963194 #966631 #319634
split-complementary
#316196 #963431 #949631
monochromatic
#13253A #224368 #316196 #437FC1 #719ED1

Accessibility & contrast

On white

6.40
#316196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#316196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316196
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316196#FFFFFF#000000##FFFFFF
##3161961.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6498
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#006D74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #316196;
/* rgb */ color: rgb(49, 97, 150);
/* oklch */ color: oklch(48.5% 0.101 252.6);
Tailwind
colors: {
  custom: {
    50: '#748db5',
    500: '#316196',
    950: '#000000',
  },
}
SCSS
$custom: #316196;
$custom-light: #748db5;
$custom-dark: #000000;
JSON
{
  "hex": "#316196",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 150
  },
  "hsl": {
    "h": 211.485,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.10052,
    "h": 252.6
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#316196
secondary
#B8936A
accent
#974EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316196

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

Preview Lab → · Contrast checker → · Palette generator →

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