#40465D#40465D

#40465D is a dark, muted blue. Relative luminance 0.063; OKLCH L 39.8% C 0.040 H 273.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#40465D
RGBrgb(64, 70, 93)
HSLhsl(228, 18%, 31%)
HSVhsv(228, 31%, 36%)
CMYKcmyk(31.2%, 24.7%, 0%, 63.5%)
CIE-LABlab(30.06, 3.60, -14.38)
CIE-LCHlch(30.06, 14.83, 284.05°)
OKLaboklab(39.83% 0.0022 -0.0397)
OKLCHoklch(39.83% 0.04 273.1)
XYZxyz(6.2798, 6.2604, 11.2313)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40465D #5D5740
analogous
#40545D #40465D #48405D
triadic
#40465D #5D4046 #465D40
tetradic
#40465D #5D4054 #5D5740 #405D48
square
#40465D #5D4054 #5D5740 #405D48
split-complementary
#40465D #5D4840 #545D40
monochromatic
#0E0F14 #272B39 #40465D #596181 #767FA1

Accessibility & contrast

On white

9.32
#40465D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#40465D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40465D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40465D#FFFFFF#000000##FFFFFF
##40465D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485E
Deuteranopia (green-blind)
#3D465C
Tritanopia (blue-blind)
#384A4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #40465d;
/* rgb */ color: rgb(64, 70, 93);
/* oklch */ color: oklch(39.8% 0.040 273.1);
Tailwind
colors: {
  custom: {
    50: '#75798b',
    500: '#40465d',
    950: '#000000',
  },
}
SCSS
$custom: #40465d;
$custom-light: #75798b;
$custom-dark: #000000;
JSON
{
  "hex": "#40465d",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 93
  },
  "hsl": {
    "h": 227.586,
    "s": 18.471,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.03972,
    "h": 273.1
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#40465D
secondary
#8C866C
accent
#AB6DBB
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #40465D

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

Preview Lab → · Contrast checker → · Palette generator →

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