#316784#316784

#316784 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.0% C 0.074 H 234.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#316784
RGBrgb(49, 103, 132)
HSLhsl(201, 46%, 35%)
HSVhsv(201, 63%, 52%)
CMYKcmyk(62.9%, 22%, 0%, 48.2%)
CIE-LABlab(41.25, -8.52, -21.44)
CIE-LCHlch(41.25, 23.08, 248.33°)
OKLaboklab(48.98% -0.0428 -0.06)
OKLCHoklch(48.98% 0.074 234.5)
XYZxyz(10.2801, 12.0184, 23.6033)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316784 #844E31
analogous
#318477 #316784 #313D84
triadic
#316784 #843167 #678431
tetradic
#316784 #773184 #844E31 #3D8431
square
#316784 #773184 #844E31 #3D8431
split-complementary
#316784 #84313D #847731
monochromatic
#10212B #204457 #316784 #428AB1 #68A6C7

Accessibility & contrast

On white

6.17
#316784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#316784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316784
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316784#FFFFFF#000000##FFFFFF
##3167841.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596685
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316784;
/* rgb */ color: rgb(49, 103, 132);
/* oklch */ color: oklch(49.0% 0.074 234.5);
Tailwind
colors: {
  custom: {
    50: '#7292a8',
    500: '#316784',
    950: '#000000',
  },
}
SCSS
$custom: #316784;
$custom-light: #7292a8;
$custom-dark: #000000;
JSON
{
  "hex": "#316784",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 132
  },
  "hsl": {
    "h": 200.964,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.07368,
    "h": 234.5
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#316784
secondary
#AE7D62
accent
#8052D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #316784

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

Preview Lab → · Contrast checker → · Palette generator →

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