#40707D#40707D

#40707D is a mid, muted cyan. Relative luminance 0.142; OKLCH L 51.6% C 0.056 H 217.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#40707D
RGBrgb(64, 112, 125)
HSLhsl(193, 32%, 37%)
HSVhsv(193, 49%, 49%)
CMYKcmyk(48.8%, 10.4%, 0%, 51%)
CIE-LABlab(44.46, -12.52, -12.26)
CIE-LCHlch(44.46, 17.52, 224.39°)
OKLaboklab(51.63% -0.0446 -0.0338)
OKLCHoklch(51.63% 0.056 217.2)
XYZxyz(11.6088, 14.1581, 21.5191)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40707D #7D4D40
analogous
#407D6C #40707D #40527D
triadic
#40707D #7D4070 #707D40
tetradic
#40707D #6C407D #7D4D40 #527D40
square
#40707D #6C407D #7D4D40 #527D40
split-complementary
#40707D #7D4052 #7D6C40
monochromatic
#17272C #2B4C55 #40707D #5594A5 #7CAEBC

Accessibility & contrast

On white

5.48
#40707D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#40707D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40707D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40707D#FFFFFF#000000##FFFFFF
##40707D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#5E667D
Tritanopia (blue-blind)
#217574
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40707d;
/* rgb */ color: rgb(64, 112, 125);
/* oklch */ color: oklch(51.6% 0.056 217.2);
Tailwind
colors: {
  custom: {
    50: '#7999a2',
    500: '#40707d',
    950: '#000000',
  },
}
SCSS
$custom: #40707d;
$custom-light: #7999a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40707d",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 125
  },
  "hsl": {
    "h": 192.787,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.05599,
    "h": 217.2
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#40707D
secondary
#A67E73
accent
#765FC8
background
#F7F9FA
surface
#EEF2F3
border
#C9CCCD
text
#090D0F
muted
#7B7E7F

Preview Lab

Preview with #40707D

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

Preview Lab → · Contrast checker → · Palette generator →

#40707D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva