#282939#282939

#282939 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.7% C 0.029 H 281.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#282939
RGBrgb(40, 41, 57)
HSLhsl(236, 18%, 19%)
HSVhsv(236, 30%, 22%)
CMYKcmyk(29.8%, 28.1%, 0%, 77.6%)
CIE-LABlab(17.14, 3.96, -10.40)
CIE-LCHlch(17.14, 11.13, 290.85°)
OKLaboklab(28.72% 0.0059 -0.0286)
OKLCHoklch(28.72% 0.029 281.6)
XYZxyz(2.4063, 2.3323, 4.1935)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282939 #393828
analogous
#283239 #282939 #302839
triadic
#282939 #392829 #293928
tetradic
#282939 #392832 #393828 #283930
square
#282939 #392832 #393828 #283930
split-complementary
#282939 #393028 #323928
monochromatic
#0D0D12 #0F0F15 #282939 #41435D #5A5D81

Accessibility & contrast

On white

14.32
#282939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282939
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282939#FFFFFF#000000##FFFFFF
##2829391.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#242C2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282939;
/* rgb */ color: rgb(40, 41, 57);
/* oklch */ color: oklch(28.7% 0.029 281.6);
Tailwind
colors: {
  custom: {
    50: '#62626f',
    500: '#282939',
    950: '#000000',
  },
}
SCSS
$custom: #282939;
$custom-light: #62626f;
$custom-dark: #000000;
JSON
{
  "hex": "#282939",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 57
  },
  "hsl": {
    "h": 236.471,
    "s": 17.526,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28718,
    "c": 0.02923,
    "h": 281.6
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#282939
secondary
#6A6953
accent
#B66EBA
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #282939

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

Preview Lab → · Contrast checker → · Palette generator →

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