#404248#404248

#404248 is a dark, near-neutral grey. Relative luminance 0.055; OKLCH L 37.9% C 0.011 H 271.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#404248
RGBrgb(64, 66, 72)
HSLhsl(225, 6%, 27%)
HSVhsv(225, 11%, 28%)
CMYKcmyk(11.1%, 8.3%, 0%, 71.8%)
CIE-LABlab(27.99, 0.58, -3.92)
CIE-LCHlch(27.99, 3.96, 278.47°)
OKLaboklab(37.94% 0.0002 -0.0105)
OKLCHoklch(37.94% 0.011 271.1)
XYZxyz(5.2320, 5.4542, 6.9068)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404248 #484640
analogous
#404648 #404248 #424048
triadic
#404248 #484042 #424840
tetradic
#404248 #484046 #484640 #404842
square
#404248 #484046 #484640 #404842
split-complementary
#404248 #484240 #464840
monochromatic
#0E0F10 #232428 #404248 #5D6068 #7A7E89

Accessibility & contrast

On white

10.04
#404248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#404248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404248
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404248#FFFFFF#000000##FFFFFF
##4042481.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#404248
Tritanopia (blue-blind)
#3E4344
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #404248;
/* rgb */ color: rgb(64, 66, 72);
/* oklch */ color: oklch(37.9% 0.011 271.1);
Tailwind
colors: {
  custom: {
    50: '#74767b',
    500: '#404248',
    950: '#000000',
  },
}
SCSS
$custom: #404248;
$custom-light: #74767b;
$custom-dark: #000000;
JSON
{
  "hex": "#404248",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 72
  },
  "hsl": {
    "h": 225,
    "s": 5.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37943,
    "c": 0.01052,
    "h": 271.1
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#404248
secondary
#77746D
accent
#A179AF
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #404248

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

Preview Lab → · Contrast checker → · Palette generator →

#404248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva