#40465A#40465A

#40465A is a dark, muted blue. Relative luminance 0.062; OKLCH L 39.7% C 0.035 H 271.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#40465A
RGBrgb(64, 70, 90)
HSLhsl(226, 17%, 30%)
HSVhsv(226, 29%, 35%)
CMYKcmyk(28.9%, 22.2%, 0%, 64.7%)
CIE-LABlab(29.93, 2.74, -12.65)
CIE-LCHlch(29.93, 12.95, 282.23°)
OKLaboklab(39.69% 0.0011 -0.0348)
OKLCHoklch(39.69% 0.035 271.7)
XYZxyz(6.1495, 6.2083, 10.5452)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40465A #5A5440
analogous
#40535A #40465A #47405A
triadic
#40465A #5A4046 #465A40
tetradic
#40465A #5A4053 #5A5440 #405A47
square
#40465A #5A4053 #5A5440 #405A47
split-complementary
#40465A #5A4740 #535A40
monochromatic
#0D0E12 #272A36 #40465A #59627E #76809E

Accessibility & contrast

On white

9.37
#40465A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#40465A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40465A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40465A#FFFFFF#000000##FFFFFF
##40465A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485B
Deuteranopia (green-blind)
#3E465A
Tritanopia (blue-blind)
#394A4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #40465a;
/* rgb */ color: rgb(64, 70, 90);
/* oklch */ color: oklch(39.7% 0.035 271.7);
Tailwind
colors: {
  custom: {
    50: '#757988',
    500: '#40465a',
    950: '#000000',
  },
}
SCSS
$custom: #40465a;
$custom-light: #757988;
$custom-dark: #000000;
JSON
{
  "hex": "#40465a",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 90
  },
  "hsl": {
    "h": 226.154,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.03479,
    "h": 271.7
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#40465A
secondary
#89836C
accent
#A86EBA
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08090B
muted
#7B7B7C

Preview Lab

Preview with #40465A

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

Preview Lab → · Contrast checker → · Palette generator →

#40465A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva