#40658D#40658D

#40658D is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.7% C 0.077 H 251.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#40658D
RGBrgb(64, 101, 141)
HSLhsl(211, 38%, 40%)
HSVhsv(211, 55%, 55%)
CMYKcmyk(54.6%, 28.4%, 0%, 44.7%)
CIE-LABlab(41.72, -0.96, -26.08)
CIE-LCHlch(41.72, 26.09, 267.89°)
OKLaboklab(49.68% -0.0246 -0.0731)
OKLCHoklch(49.68% 0.077 251.4)
XYZxyz(11.5741, 12.3195, 26.9621)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40658D #8D6840
analogous
#408B8D #40658D #42408D
triadic
#40658D #8D4065 #658D40
tetradic
#40658D #8D408B #8D6840 #408D42
square
#40658D #8D408B #8D6840 #408D42
split-complementary
#40658D #8D4240 #8B8D40
monochromatic
#1A2939 #2D4763 #40658D #5783B3 #81A2C6

Accessibility & contrast

On white

6.06
#40658D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#40658D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40658D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40658D#FFFFFF#000000##FFFFFF
##40658D1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#146E73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #40658d;
/* rgb */ color: rgb(64, 101, 141);
/* oklch */ color: oklch(49.7% 0.077 251.4);
Tailwind
colors: {
  custom: {
    50: '#7a90ae',
    500: '#40658d',
    950: '#000000',
  },
}
SCSS
$custom: #40658d;
$custom-light: #7a90ae;
$custom-dark: #000000;
JSON
{
  "hex": "#40658d",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 141
  },
  "hsl": {
    "h": 211.169,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.07718,
    "h": 251.4
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#40658D
secondary
#B09578
accent
#965ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #40658D

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

Preview Lab → · Contrast checker → · Palette generator →

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