#42404F#42404F

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

Color values

HEX#42404F
RGBrgb(66, 64, 79)
HSLhsl(248, 10%, 28%)
HSVhsv(248, 19%, 31%)
CMYKcmyk(16.5%, 19%, 0%, 69%)
CIE-LABlab(27.82, 4.42, -8.73)
CIE-LCHlch(27.82, 9.79, 296.88°)
OKLaboklab(37.94% 0.0092 -0.0237)
OKLCHoklch(37.94% 0.025 291.2)
XYZxyz(5.4911, 5.3895, 8.1466)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42404F #4D4F40
analogous
#40454F #42404F #49404F
triadic
#42404F #4F4240 #404F42
tetradic
#42404F #4F4045 #4D4F40 #404F49
square
#42404F #4F4045 #4D4F40 #404F49
split-complementary
#42404F #4F4940 #454F40
monochromatic
#0E0E11 #26252D #42404F #5E5B71 #7B7892

Accessibility & contrast

On white

10.11
#42404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42404F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42404F#FFFFFF#000000##FFFFFF
##42404F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42404f;
/* rgb */ color: rgb(66, 64, 79);
/* oklch */ color: oklch(37.9% 0.025 291.2);
Tailwind
colors: {
  custom: {
    50: '#767480',
    500: '#42404f',
    950: '#000000',
  },
}
SCSS
$custom: #42404f;
$custom-light: #767480;
$custom-dark: #000000;
JSON
{
  "hex": "#42404f",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 248,
    "s": 10.49,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37939,
    "c": 0.02544,
    "h": 291.2
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#42404F
secondary
#7C7E6D
accent
#B374AB
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #42404F

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

Preview Lab → · Contrast checker → · Palette generator →

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