#42404E#42404E

#42404E is a dark, muted blue. Relative luminance 0.054; OKLCH L 37.9% C 0.024 H 291.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#42404E
RGBrgb(66, 64, 78)
HSLhsl(249, 10%, 28%)
HSVhsv(249, 18%, 31%)
CMYKcmyk(15.4%, 17.9%, 0%, 69.4%)
CIE-LABlab(27.78, 4.17, -8.14)
CIE-LCHlch(27.78, 9.14, 297.13°)
OKLaboklab(37.9% 0.0088 -0.0221)
OKLCHoklch(37.9% 0.024 291.8)
XYZxyz(5.4550, 5.3751, 7.9564)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42404E #4C4E40
analogous
#40454E #42404E #49404E
triadic
#42404E #4E4240 #404E42
tetradic
#42404E #4E4045 #4C4E40 #404E49
square
#42404E #4E4045 #4C4E40 #404E49
split-complementary
#42404E #4E4940 #454E40
monochromatic
#0E0E11 #26242C #42404E #5E5C70 #7C7890

Accessibility & contrast

On white

10.12
#42404E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#42404E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42404E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42404E#FFFFFF#000000##FFFFFF
##42404E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#3D414E
Tritanopia (blue-blind)
#404245
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42404e;
/* rgb */ color: rgb(66, 64, 78);
/* oklch */ color: oklch(37.9% 0.024 291.8);
Tailwind
colors: {
  custom: {
    50: '#76747f',
    500: '#42404e',
    950: '#000000',
  },
}
SCSS
$custom: #42404e;
$custom-light: #76747f;
$custom-dark: #000000;
JSON
{
  "hex": "#42404e",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 248.571,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37895,
    "c": 0.02375,
    "h": 291.8
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#42404E
secondary
#7B7D6D
accent
#B375AA
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #42404E

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

Preview Lab → · Contrast checker → · Palette generator →

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