#316979#316979

#316979 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.0% C 0.064 H 219.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#316979
RGBrgb(49, 105, 121)
HSLhsl(193, 42%, 33%)
HSVhsv(193, 60%, 47%)
CMYKcmyk(59.5%, 13.2%, 0%, 52.5%)
CIE-LABlab(41.43, -13.34, -14.51)
CIE-LCHlch(41.43, 19.71, 227.39°)
OKLaboklab(48.98% -0.0496 -0.0403)
OKLCHoklch(48.98% 0.064 219.1)
XYZxyz(9.7680, 12.1357, 19.9131)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316979 #794131
analogous
#317965 #316979 #314579
triadic
#316979 #793169 #697931
tetradic
#316979 #653179 #794131 #457931
square
#316979 #653179 #794131 #457931
split-complementary
#316979 #793145 #796531
monochromatic
#0E1D22 #1F434D #316979 #438FA5 #64ACC0

Accessibility & contrast

On white

6.13
#316979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#316979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316979
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316979#FFFFFF#000000##FFFFFF
##3169791.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F667A
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#006E6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #316979;
/* rgb */ color: rgb(49, 105, 121);
/* oklch */ color: oklch(49.0% 0.064 219.1);
Tailwind
colors: {
  custom: {
    50: '#70949f',
    500: '#316979',
    950: '#000000',
  },
}
SCSS
$custom: #316979;
$custom-light: #70949f;
$custom-dark: #000000;
JSON
{
  "hex": "#316979",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 121
  },
  "hsl": {
    "h": 193.333,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.06386,
    "h": 219.1
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#316979
secondary
#A86E5E
accent
#7156D2
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #316979

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

Preview Lab → · Contrast checker → · Palette generator →

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