#316D97#316D97

#316D97 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.4% C 0.091 H 242.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#316D97
RGBrgb(49, 109, 151)
HSLhsl(205, 51%, 39%)
HSVhsv(205, 68%, 59%)
CMYKcmyk(67.5%, 27.8%, 0%, 40.8%)
CIE-LABlab(43.98, -5.49, -28.57)
CIE-LCHlch(43.98, 29.09, 259.12°)
OKLaboklab(51.43% -0.0427 -0.0805)
OKLCHoklch(51.43% 0.091 242.1)
XYZxyz(12.3190, 13.8233, 31.2911)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316D97 #975B31
analogous
#31978E #316D97 #313A97
triadic
#316D97 #97316D #6D9731
tetradic
#316D97 #8E3197 #975B31 #3A9731
square
#316D97 #8E3197 #975B31 #3A9731
split-complementary
#316D97 #97313A #978E31
monochromatic
#132A3B #224C69 #316D97 #438EC2 #71AAD1

Accessibility & contrast

On white

5.58
#316D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316D97
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316D97#FFFFFF#000000##FFFFFF
##316D971.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#4C6496
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #316d97;
/* rgb */ color: rgb(49, 109, 151);
/* oklch */ color: oklch(51.4% 0.091 242.1);
Tailwind
colors: {
  custom: {
    50: '#7596b5',
    500: '#316d97',
    950: '#000000',
  },
}
SCSS
$custom: #316d97;
$custom-light: #7596b5;
$custom-dark: #000000;
JSON
{
  "hex": "#316d97",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 204.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.09112,
    "h": 242.1
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#316D97
secondary
#B98B6B
accent
#874DDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #316D97

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

Preview Lab → · Contrast checker → · Palette generator →

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