#282931#282931

#282931 is a dark, near-neutral blue. Relative luminance 0.023; OKLCH L 28.3% C 0.015 H 279.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#282931
RGBrgb(40, 41, 49)
HSLhsl(233, 10%, 17%)
HSVhsv(233, 18%, 19%)
CMYKcmyk(18.4%, 16.3%, 0%, 80.8%)
CIE-LABlab(16.79, 1.64, -5.34)
CIE-LCHlch(16.79, 5.58, 287.05°)
OKLaboklab(28.33% 0.0025 -0.0145)
OKLCHoklch(28.33% 0.015 279.8)
XYZxyz(2.2223, 2.2587, 3.2240)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282931 #313028
analogous
#282E31 #282931 #2C2831
triadic
#282931 #312829 #293128
tetradic
#282931 #31282E #313028 #28312C
square
#282931 #31282E #313028 #28312C
split-complementary
#282931 #312C28 #2E3128
monochromatic
#0E0E11 #0E0E11 #282931 #444553 #5F6174

Accessibility & contrast

On white

14.46
#282931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282931
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282931#FFFFFF#000000##FFFFFF
##2829311.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A31
Deuteranopia (green-blind)
#272931
Tritanopia (blue-blind)
#262A2C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282931;
/* rgb */ color: rgb(40, 41, 49);
/* oklch */ color: oklch(28.3% 0.015 279.8);
Tailwind
colors: {
  custom: {
    50: '#626269',
    500: '#282931',
    950: '#000000',
  },
}
SCSS
$custom: #282931;
$custom-light: #626269;
$custom-dark: #000000;
JSON
{
  "hex": "#282931",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 49
  },
  "hsl": {
    "h": 233.333,
    "s": 10.112,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28327,
    "c": 0.01468,
    "h": 279.8
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#282931
secondary
#615F54
accent
#AC75B3
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282931

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

Preview Lab → · Contrast checker → · Palette generator →

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