#40425A#40425A

#40425A is a dark, muted blue. Relative luminance 0.057; OKLCH L 38.7% C 0.041 H 280.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#40425A
RGBrgb(64, 66, 90)
HSLhsl(235, 17%, 30%)
HSVhsv(235, 29%, 35%)
CMYKcmyk(28.9%, 26.7%, 0%, 64.7%)
CIE-LABlab(28.71, 5.36, -14.53)
CIE-LCHlch(28.71, 15.49, 290.24°)
OKLaboklab(38.74% 0.0075 -0.0401)
OKLCHoklch(38.74% 0.041 280.6)
XYZxyz(5.9076, 5.7245, 10.4646)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40425A #5A5840
analogous
#404F5A #40425A #4B405A
triadic
#40425A #5A4042 #425A40
tetradic
#40425A #5A404F #5A5840 #405A4B
square
#40425A #5A404F #5A5840 #405A4B
split-complementary
#40425A #5A4B40 #4F5A40
monochromatic
#0D0E12 #272836 #40425A #595C7E #767A9E

Accessibility & contrast

On white

9.79
#40425A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#40425A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40425A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40425A#FFFFFF#000000##FFFFFF
##40425A1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455B
Deuteranopia (green-blind)
#3A4359
Tritanopia (blue-blind)
#3A464A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #40425a;
/* rgb */ color: rgb(64, 66, 90);
/* oklch */ color: oklch(38.7% 0.041 280.6);
Tailwind
colors: {
  custom: {
    50: '#757688',
    500: '#40425a',
    950: '#000000',
  },
}
SCSS
$custom: #40425a;
$custom-light: #757688;
$custom-dark: #000000;
JSON
{
  "hex": "#40425a",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 90
  },
  "hsl": {
    "h": 235.385,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.04076,
    "h": 280.6
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#40425A
secondary
#89876C
accent
#B46EBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #40425A

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

Preview Lab → · Contrast checker → · Palette generator →

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