#40445F#40445F

#40445F is a dark, muted blue. Relative luminance 0.060; OKLCH L 39.5% C 0.046 H 277.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#40445F
RGBrgb(64, 68, 95)
HSLhsl(232, 19%, 31%)
HSVhsv(232, 33%, 37%)
CMYKcmyk(32.6%, 28.4%, 0%, 62.7%)
CIE-LABlab(29.54, 5.49, -16.47)
CIE-LCHlch(29.54, 17.36, 288.43°)
OKLaboklab(39.46% 0.0061 -0.0456)
OKLCHoklch(39.46% 0.046 277.6)
XYZxyz(6.2465, 6.0503, 11.6630)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40445F #5F5B40
analogous
#40535F #40445F #4B405F
triadic
#40445F #5F4044 #445F40
tetradic
#40445F #5F4053 #5F5B40 #405F4B
square
#40445F #5F4053 #5F5B40 #405F4B
split-complementary
#40445F #5F4B40 #535F40
monochromatic
#0F1016 #272A3A #40445F #595E84 #767CA3

Accessibility & contrast

On white

9.50
#40445F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#40445F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40445F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40445F#FFFFFF#000000##FFFFFF
##40445F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#3A455E
Tritanopia (blue-blind)
#38494D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #40445f;
/* rgb */ color: rgb(64, 68, 95);
/* oklch */ color: oklch(39.5% 0.046 277.6);
Tailwind
colors: {
  custom: {
    50: '#75778c',
    500: '#40445f',
    950: '#000000',
  },
}
SCSS
$custom: #40445f;
$custom-light: #75778c;
$custom-dark: #000000;
JSON
{
  "hex": "#40445f",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 95
  },
  "hsl": {
    "h": 232.258,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.04598,
    "h": 277.6
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#40445F
secondary
#8F8A6C
accent
#B26CBC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #40445F

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

Preview Lab → · Contrast checker → · Palette generator →

#40445F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva