#40485E#40485E

#40485E is a dark, muted blue. Relative luminance 0.065; OKLCH L 40.4% C 0.039 H 269.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#40485E
RGBrgb(64, 72, 94)
HSLhsl(224, 19%, 31%)
HSVhsv(224, 32%, 37%)
CMYKcmyk(31.9%, 23.4%, 0%, 63.1%)
CIE-LABlab(30.72, 2.59, -14.01)
CIE-LCHlch(30.72, 14.25, 280.46°)
OKLaboklab(40.36% -0.0006 -0.0386)
OKLCHoklch(40.36% 0.039 269.1)
XYZxyz(6.4515, 6.5327, 11.5085)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40485E #5E5640
analogous
#40575E #40485E #47405E
triadic
#40485E #5E4048 #485E40
tetradic
#40485E #5E4057 #5E5640 #405E47
square
#40485E #5E4057 #5E5640 #405E47
split-complementary
#40485E #5E4740 #575E40
monochromatic
#0E1015 #272C3A #40485E #596482 #7682A2

Accessibility & contrast

On white

9.10
#40485E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#40485E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40485E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40485E#FFFFFF#000000##FFFFFF
##40485E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#384C4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #40485e;
/* rgb */ color: rgb(64, 72, 94);
/* oklch */ color: oklch(40.4% 0.039 269.1);
Tailwind
colors: {
  custom: {
    50: '#757a8b',
    500: '#40485e',
    950: '#000000',
  },
}
SCSS
$custom: #40485e;
$custom-light: #757a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40485e",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 94
  },
  "hsl": {
    "h": 224,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.03862,
    "h": 269.1
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#40485E
secondary
#8D856C
accent
#A66CBC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #40485E

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

Preview Lab → · Contrast checker → · Palette generator →

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