#40425C#40425C

#40425C is a dark, muted blue. Relative luminance 0.058; OKLCH L 38.8% C 0.044 H 280.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#40425C
RGBrgb(64, 66, 92)
HSLhsl(236, 18%, 31%)
HSVhsv(236, 30%, 36%)
CMYKcmyk(30.4%, 28.3%, 0%, 63.9%)
CIE-LABlab(28.80, 5.93, -15.68)
CIE-LCHlch(28.80, 16.77, 290.71°)
OKLaboklab(38.84% 0.0082 -0.0433)
OKLCHoklch(38.84% 0.044 280.7)
XYZxyz(5.9938, 5.7590, 10.9189)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40425C #5C5A40
analogous
#40505C #40425C #4C405C
triadic
#40425C #5C4042 #425C40
tetradic
#40425C #5C4050 #5C5A40 #405C4C
square
#40425C #5C4050 #5C5A40 #405C4C
split-complementary
#40425C #5C4C40 #505C40
monochromatic
#0E0E14 #272838 #40425C #595C80 #7679A0

Accessibility & contrast

On white

9.76
#40425C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40425C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40425C#FFFFFF#000000##FFFFFF
##40425C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#39435B
Tritanopia (blue-blind)
#39474B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #40425c;
/* rgb */ color: rgb(64, 66, 92);
/* oklch */ color: oklch(38.8% 0.044 280.7);
Tailwind
colors: {
  custom: {
    50: '#75768a',
    500: '#40425c',
    950: '#000000',
  },
}
SCSS
$custom: #40425c;
$custom-light: #75768a;
$custom-dark: #000000;
JSON
{
  "hex": "#40425c",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 92
  },
  "hsl": {
    "h": 235.714,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.04411,
    "h": 280.7
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#40425C
secondary
#8B896C
accent
#B56DBB
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #40425C

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

Preview Lab → · Contrast checker → · Palette generator →

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