#40657E#40657E

#40657E is a mid, muted cyan. Relative luminance 0.119; OKLCH L 48.9% C 0.058 H 239.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#40657E
RGBrgb(64, 101, 126)
HSLhsl(204, 33%, 37%)
HSVhsv(204, 49%, 49%)
CMYKcmyk(49.2%, 19.8%, 0%, 50.6%)
CIE-LABlab(41.06, -5.79, -18.04)
CIE-LCHlch(41.06, 18.95, 252.20°)
OKLaboklab(48.94% -0.03 -0.0501)
OKLCHoklch(48.94% 0.058 239.1)
XYZxyz(10.5326, 11.9029, 21.4771)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40657E #7E5940
analogous
#407E78 #40657E #40467E
triadic
#40657E #7E4065 #657E40
tetradic
#40657E #78407E #7E5940 #467E40
square
#40657E #78407E #7E5940 #467E40
split-complementary
#40657E #7E4046 #7E7840
monochromatic
#17242D #2B4455 #40657E #5586A7 #7CA2BC

Accessibility & contrast

On white

6.21
#40657E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#40657E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40657E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40657E#FFFFFF#000000##FFFFFF
##40657E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A657F
Deuteranopia (green-blind)
#515E7E
Tritanopia (blue-blind)
#236B6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #40657e;
/* rgb */ color: rgb(64, 101, 126);
/* oklch */ color: oklch(48.9% 0.058 239.1);
Tailwind
colors: {
  custom: {
    50: '#7990a3',
    500: '#40657e',
    950: '#000000',
  },
}
SCSS
$custom: #40657e;
$custom-light: #7990a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40657e",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 126
  },
  "hsl": {
    "h": 204.194,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.05838,
    "h": 239.1
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#40657E
secondary
#A78873
accent
#8A5FC9
background
#F7F8FA
surface
#EEF0F3
border
#C9CBCD
text
#090C0F
muted
#7B7D7F

Preview Lab

Preview with #40657E

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

Preview Lab → · Contrast checker → · Palette generator →

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