#40465E#40465E

#40465E is a dark, muted blue. Relative luminance 0.063; OKLCH L 39.9% C 0.041 H 273.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#40465E
RGBrgb(64, 70, 94)
HSLhsl(228, 19%, 31%)
HSVhsv(228, 32%, 37%)
CMYKcmyk(31.9%, 25.5%, 0%, 63.1%)
CIE-LABlab(30.10, 3.89, -14.96)
CIE-LCHlch(30.10, 15.45, 284.57°)
OKLaboklab(39.88% 0.0025 -0.0413)
OKLCHoklch(39.88% 0.041 273.5)
XYZxyz(6.3243, 6.2783, 11.4661)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40465E #5E5840
analogous
#40555E #40465E #49405E
triadic
#40465E #5E4046 #465E40
tetradic
#40465E #5E4055 #5E5840 #405E49
square
#40465E #5E4055 #5E5840 #405E49
split-complementary
#40465E #5E4940 #555E40
monochromatic
#0E1015 #272B3A #40465E #596182 #767FA2

Accessibility & contrast

On white

9.31
#40465E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#40465E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40465E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40465E#FFFFFF#000000##FFFFFF
##40465E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485F
Deuteranopia (green-blind)
#3D465D
Tritanopia (blue-blind)
#384B4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #40465e;
/* rgb */ color: rgb(64, 70, 94);
/* oklch */ color: oklch(39.9% 0.041 273.5);
Tailwind
colors: {
  custom: {
    50: '#75798b',
    500: '#40465e',
    950: '#000000',
  },
}
SCSS
$custom: #40465e;
$custom-light: #75798b;
$custom-dark: #000000;
JSON
{
  "hex": "#40465e",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 94
  },
  "hsl": {
    "h": 228,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.04137,
    "h": 273.5
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#40465E
secondary
#8D876C
accent
#AC6CBC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #40465E

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

Preview Lab → · Contrast checker → · Palette generator →

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