#40586F#40586F

#40586F is a mid, muted cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.048 H 247.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#40586F
RGBrgb(64, 88, 111)
HSLhsl(209, 27%, 34%)
HSVhsv(209, 42%, 44%)
CMYKcmyk(42.3%, 20.7%, 0%, 56.5%)
CIE-LABlab(36.40, -2.50, -16.00)
CIE-LCHlch(36.40, 16.20, 261.12°)
OKLaboklab(45.05% -0.018 -0.0443)
OKLCHoklch(45.05% 0.048 247.9)
XYZxyz(8.4724, 9.2166, 16.3684)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40586F #6F5740
analogous
#406F6F #40586F #40416F
triadic
#40586F #6F4058 #586F40
tetradic
#40586F #6F406F #6F5740 #416F40
square
#40586F #6F406F #6F5740 #416F40
split-complementary
#40586F #6F4041 #6F6F40
monochromatic
#131A21 #2A3948 #40586F #567796 #7895B1

Accessibility & contrast

On white

7.39
#40586F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#40586F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40586F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40586F#FFFFFF#000000##FFFFFF
##40586F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5870
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#2F5D60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #40586f;
/* rgb */ color: rgb(64, 88, 111);
/* oklch */ color: oklch(45.1% 0.048 247.9);
Tailwind
colors: {
  custom: {
    50: '#778798',
    500: '#40586f',
    950: '#000000',
  },
}
SCSS
$custom: #40586f;
$custom-light: #778798;
$custom-dark: #000000;
JSON
{
  "hex": "#40586f",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 111
  },
  "hsl": {
    "h": 209.362,
    "s": 26.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.04784,
    "h": 247.9
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#40586F
secondary
#9C856F
accent
#9365C3
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0D
muted
#7B7C7E

Preview Lab

Preview with #40586F

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

Preview Lab → · Contrast checker → · Palette generator →

#40586F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva