#316D8A#316D8A

#316D8A is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.8% C 0.077 H 232.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#316D8A
RGBrgb(49, 109, 138)
HSLhsl(200, 48%, 37%)
HSVhsv(200, 64%, 54%)
CMYKcmyk(64.5%, 21%, 0%, 45.9%)
CIE-LABlab(43.40, -10.01, -21.73)
CIE-LCHlch(43.40, 23.92, 245.27°)
OKLaboklab(50.78% -0.0474 -0.0608)
OKLCHoklch(50.78% 0.077 232.1)
XYZxyz(11.3209, 13.4241, 26.0343)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316D8A #8A4E31
analogous
#318A7B #316D8A #31408A
triadic
#316D8A #8A316D #6D8A31
tetradic
#316D8A #7B318A #8A4E31 #408A31
square
#316D8A #7B318A #8A4E31 #408A31
split-complementary
#316D8A #8A3140 #8A7B31
monochromatic
#112630 #21495D #316D8A #4191B7 #6BABCA

Accessibility & contrast

On white

5.70
#316D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#316D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316D8A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316D8A#FFFFFF#000000##FFFFFF
##316D8A1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #316d8a;
/* rgb */ color: rgb(49, 109, 138);
/* oklch */ color: oklch(50.8% 0.077 232.1);
Tailwind
colors: {
  custom: {
    50: '#7396ac',
    500: '#316d8a',
    950: '#000000',
  },
}
SCSS
$custom: #316d8a;
$custom-light: #7396ac;
$custom-dark: #000000;
JSON
{
  "hex": "#316d8a",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 199.551,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.07707,
    "h": 232.1
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#316D8A
secondary
#B27E65
accent
#7C51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #316D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#316D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva