#31697E#31697E

#31697E is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.2% C 0.067 H 225.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#31697E
RGBrgb(49, 105, 126)
HSLhsl(196, 44%, 34%)
HSVhsv(196, 61%, 49%)
CMYKcmyk(61.1%, 16.7%, 0%, 50.6%)
CIE-LABlab(41.63, -11.71, -17.23)
CIE-LCHlch(41.63, 20.83, 235.80°)
OKLaboklab(49.2% -0.0475 -0.048)
OKLCHoklch(49.2% 0.067 225.3)
XYZxyz(10.0826, 12.2615, 21.5700)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31697E #7E4631
analogous
#317E6D #31697E #31437E
triadic
#31697E #7E3169 #697E31
tetradic
#31697E #6D317E #7E4631 #437E31
square
#31697E #6D317E #7E4631 #437E31
split-complementary
#31697E #7E3143 #7E6D31
monochromatic
#0F2026 #204452 #31697E #428EAA #66AAC3

Accessibility & contrast

On white

6.08
#31697E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#31697E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31697E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31697E#FFFFFF#000000##FFFFFF
##31697E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D677F
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#006F70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #31697e;
/* rgb */ color: rgb(49, 105, 126);
/* oklch */ color: oklch(49.2% 0.067 225.3);
Tailwind
colors: {
  custom: {
    50: '#7194a3',
    500: '#31697e',
    950: '#000000',
  },
}
SCSS
$custom: #31697e;
$custom-light: #7194a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31697e",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 126
  },
  "hsl": {
    "h": 196.364,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.06749,
    "h": 225.3
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#31697E
secondary
#AB7460
accent
#7754D4
background
#F7F9FA
surface
#EDF1F3
border
#C8CBCD
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #31697E

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

Preview Lab → · Contrast checker → · Palette generator →

#31697E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva