#316786#316786

#316786 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.1% C 0.076 H 236.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#316786
RGBrgb(49, 103, 134)
HSLhsl(202, 46%, 36%)
HSVhsv(202, 63%, 53%)
CMYKcmyk(63.4%, 23.1%, 0%, 47.5%)
CIE-LABlab(41.33, -7.84, -22.52)
CIE-LCHlch(41.33, 23.84, 250.81°)
OKLaboklab(49.08% -0.042 -0.0631)
OKLCHoklch(49.08% 0.076 236.3)
XYZxyz(10.4183, 12.0737, 24.3310)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316786 #865031
analogous
#31867A #316786 #313C86
triadic
#316786 #863167 #678631
tetradic
#316786 #7A3186 #865031 #3C8631
square
#316786 #7A3186 #865031 #3C8631
split-complementary
#316786 #86313C #867A31
monochromatic
#10222C #214559 #316786 #4189B3 #69A6C8

Accessibility & contrast

On white

6.15
#316786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#316786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316786
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316786#FFFFFF#000000##FFFFFF
##3167861.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #316786;
/* rgb */ color: rgb(49, 103, 134);
/* oklch */ color: oklch(49.1% 0.076 236.3);
Tailwind
colors: {
  custom: {
    50: '#7292a9',
    500: '#316786',
    950: '#000000',
  },
}
SCSS
$custom: #316786;
$custom-light: #7292a9;
$custom-dark: #000000;
JSON
{
  "hex": "#316786",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 201.882,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.07578,
    "h": 236.3
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#316786
secondary
#B07F63
accent
#8252D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #316786

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

Preview Lab → · Contrast checker → · Palette generator →

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