#31597C#31597C

#31597C is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.073 H 246.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31597C
RGBrgb(49, 89, 124)
HSLhsl(208, 43%, 34%)
HSVhsv(208, 60%, 49%)
CMYKcmyk(60.5%, 28.2%, 0%, 51.4%)
CIE-LABlab(36.47, -2.76, -23.99)
CIE-LCHlch(36.47, 24.15, 263.44°)
OKLaboklab(45.08% -0.029 -0.0674)
OKLCHoklch(45.08% 0.073 246.7)
XYZxyz(8.4758, 9.2522, 20.4041)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31597C #7C5431
analogous
#317C7A #31597C #31347C
triadic
#31597C #7C3159 #597C31
tetradic
#31597C #7A317C #7C5431 #347C31
square
#31597C #7A317C #7C5431 #347C31
split-complementary
#31597C #7C3134 #7C7A31
monochromatic
#0E1A24 #203A50 #31597C #4278A8 #6597C2

Accessibility & contrast

On white

7.37
#31597C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#31597C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31597C
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31597C#FFFFFF#000000##FFFFFF
##31597C1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7E
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #31597c;
/* rgb */ color: rgb(49, 89, 124);
/* oklch */ color: oklch(45.1% 0.073 246.7);
Tailwind
colors: {
  custom: {
    50: '#7087a2',
    500: '#31597c',
    950: '#000000',
  },
}
SCSS
$custom: #31597c;
$custom-light: #7087a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31597c",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 124
  },
  "hsl": {
    "h": 208,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.0734,
    "h": 246.7
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#31597C
secondary
#AA825F
accent
#9055D3
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #31597C

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

Preview Lab → · Contrast checker → · Palette generator →

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