#316F8A#316F8A

#316F8A is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.3% C 0.076 H 229.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#316F8A
RGBrgb(49, 111, 138)
HSLhsl(198, 48%, 37%)
HSVhsv(198, 64%, 54%)
CMYKcmyk(64.5%, 19.6%, 0%, 45.9%)
CIE-LABlab(44.03, -11.17, -20.76)
CIE-LCHlch(44.03, 23.57, 241.72°)
OKLaboklab(51.28% -0.0497 -0.058)
OKLCHoklch(51.28% 0.076 229.4)
XYZxyz(11.5367, 13.8557, 26.1062)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F8A #8A4C31
analogous
#318A79 #316F8A #31438A
triadic
#316F8A #8A316F #6F8A31
tetradic
#316F8A #79318A #8A4C31 #438A31
square
#316F8A #79318A #8A4C31 #438A31
split-complementary
#316F8A #8A3143 #8A7931
monochromatic
#112630 #214B5D #316F8A #4193B7 #6BADCA

Accessibility & contrast

On white

5.57
#316F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#316F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F8A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F8A#FFFFFF#000000##FFFFFF
##316F8A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616D8B
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #316f8a;
/* rgb */ color: rgb(49, 111, 138);
/* oklch */ color: oklch(51.3% 0.076 229.4);
Tailwind
colors: {
  custom: {
    50: '#7398ac',
    500: '#316f8a',
    950: '#000000',
  },
}
SCSS
$custom: #316f8a;
$custom-light: #7398ac;
$custom-dark: #000000;
JSON
{
  "hex": "#316f8a",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 198.202,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.07636,
    "h": 229.4
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#316F8A
secondary
#B27C65
accent
#7951D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #316F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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