#282832#282832

#282832 is a dark, near-neutral blue. Relative luminance 0.022; OKLCH L 28.1% C 0.018 H 285.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#282832
RGBrgb(40, 40, 50)
HSLhsl(240, 11%, 18%)
HSVhsv(240, 20%, 20%)
CMYKcmyk(20%, 20%, 0%, 80.4%)
CIE-LABlab(16.50, 2.62, -6.48)
CIE-LCHlch(16.50, 6.99, 292.00°)
OKLaboklab(28.11% 0.0048 -0.0176)
OKLCHoklch(28.11% 0.018 285.2)
XYZxyz(2.2095, 2.1990, 3.3250)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282832 #323228
analogous
#282D32 #282832 #2D2832
triadic
#282832 #322828 #283228
tetradic
#282832 #32282D #323228 #28322D
square
#282832 #32282D #323228 #28322D
split-complementary
#282832 #322D28 #2D3228
monochromatic
#0E0E11 #0E0E11 #282832 #434354 #5E5E76

Accessibility & contrast

On white

14.59
#282832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#282832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282832
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282832#FFFFFF#000000##FFFFFF
##2828321.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262932
Deuteranopia (green-blind)
#252932
Tritanopia (blue-blind)
#262A2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282832;
/* rgb */ color: rgb(40, 40, 50);
/* oklch */ color: oklch(28.1% 0.018 285.2);
Tailwind
colors: {
  custom: {
    50: '#626169',
    500: '#282832',
    950: '#000000',
  },
}
SCSS
$custom: #282832;
$custom-light: #626169;
$custom-dark: #000000;
JSON
{
  "hex": "#282832",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 240,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28113,
    "c": 0.01826,
    "h": 285.2
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#282832
secondary
#626254
accent
#B474B4
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282832

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

Preview Lab → · Contrast checker → · Palette generator →

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