#40596B#40596B

#40596B is a mid, muted cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.042 H 240.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#40596B
RGBrgb(64, 89, 107)
HSLhsl(205, 25%, 34%)
HSVhsv(205, 40%, 42%)
CMYKcmyk(40.2%, 16.8%, 0%, 58%)
CIE-LABlab(36.55, -4.32, -13.29)
CIE-LCHlch(36.55, 13.98, 252.01°)
OKLaboklab(45.12% -0.021 -0.0366)
OKLCHoklch(45.12% 0.042 240.2)
XYZxyz(8.3397, 9.2958, 15.2619)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40596B #6B5240
analogous
#406B67 #40596B #40436B
triadic
#40596B #6B4059 #596B40
tetradic
#40596B #67406B #6B5240 #436B40
square
#40596B #67406B #6B5240 #436B40
split-complementary
#40596B #6B4043 #6B6740
monochromatic
#12191E #293945 #40596B #577991 #7797AE

Accessibility & contrast

On white

7.34
#40596B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#40596B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40596B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40596B#FFFFFF#000000##FFFFFF
##40596B1.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)
#51596C
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#315D5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #40596b;
/* rgb */ color: rgb(64, 89, 107);
/* oklch */ color: oklch(45.1% 0.042 240.2);
Tailwind
colors: {
  custom: {
    50: '#778795',
    500: '#40596b',
    950: '#000000',
  },
}
SCSS
$custom: #40596b;
$custom-light: #778795;
$custom-dark: #000000;
JSON
{
  "hex": "#40596b",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 107
  },
  "hsl": {
    "h": 205.116,
    "s": 25.146,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.04225,
    "h": 240.2
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#40596B
secondary
#99806E
accent
#8C66C2
background
#F7F8F9
surface
#EDEFF1
border
#C8CACB
text
#090B0D
muted
#7B7C7E

Preview Lab

Preview with #40596B

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

Preview Lab → · Contrast checker → · Palette generator →

#40596B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva