#31597E#31597E

#31597E is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.076 H 248.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#31597E
RGBrgb(49, 89, 126)
HSLhsl(209, 44%, 34%)
HSVhsv(209, 61%, 49%)
CMYKcmyk(61.1%, 29.4%, 0%, 50.6%)
CIE-LABlab(36.56, -2.06, -25.07)
CIE-LCHlch(36.56, 25.16, 265.30°)
OKLaboklab(45.18% -0.0284 -0.0705)
OKLCHoklch(45.18% 0.076 248.1)
XYZxyz(8.6035, 9.3033, 21.0769)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31597E #7E5631
analogous
#317E7D #31597E #31337E
triadic
#31597E #7E3159 #597E31
tetradic
#31597E #7D317E #7E5631 #337E31
square
#31597E #7D317E #7E5631 #337E31
split-complementary
#31597E #7E3133 #7E7D31
monochromatic
#0F1B26 #203A52 #31597E #4278AA #6697C3

Accessibility & contrast

On white

7.34
#31597E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#31597E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31597E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31597E#FFFFFF#000000##FFFFFF
##31597E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #31597e;
/* rgb */ color: rgb(49, 89, 126);
/* oklch */ color: oklch(45.2% 0.076 248.1);
Tailwind
colors: {
  custom: {
    50: '#7087a3',
    500: '#31597e',
    950: '#000000',
  },
}
SCSS
$custom: #31597e;
$custom-light: #7087a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31597e",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 126
  },
  "hsl": {
    "h": 208.831,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.07602,
    "h": 248.1
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#31597E
secondary
#AB8460
accent
#9154D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #31597E

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

Preview Lab → · Contrast checker → · Palette generator →

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