#282D36#282D36

#282D36 is a dark, near-neutral blue. Relative luminance 0.026; OKLCH L 29.6% C 0.018 H 262.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#282D36
RGBrgb(40, 45, 54)
HSLhsl(219, 15%, 18%)
HSVhsv(219, 26%, 21%)
CMYKcmyk(25.9%, 16.7%, 0%, 78.8%)
CIE-LABlab(18.34, 0.27, -6.49)
CIE-LCHlch(18.34, 6.50, 272.36°)
OKLaboklab(29.61% -0.0024 -0.0177)
OKLCHoklch(29.61% 0.018 262.2)
XYZxyz(2.4791, 2.5942, 3.8594)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D36 #363128
analogous
#283436 #282D36 #2A2836
triadic
#282D36 #36282D #2D3628
tetradic
#282D36 #362834 #363128 #28362A
square
#282D36 #362834 #363128 #28362A
split-complementary
#282D36 #362A28 #343628
monochromatic
#0D0F12 #0E1013 #282D36 #424A59 #5C687C

Accessibility & contrast

On white

13.83
#282D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#282D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D36
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D36#FFFFFF#000000##FFFFFF
##282D361.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D36
Deuteranopia (green-blind)
#292C36
Tritanopia (blue-blind)
#242F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282d36;
/* rgb */ color: rgb(40, 45, 54);
/* oklch */ color: oklch(29.6% 0.018 262.2);
Tailwind
colors: {
  custom: {
    50: '#62656d',
    500: '#282d36',
    950: '#000000',
  },
}
SCSS
$custom: #282d36;
$custom-light: #62656d;
$custom-dark: #000000;
JSON
{
  "hex": "#282d36",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 54
  },
  "hsl": {
    "h": 218.571,
    "s": 14.894,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29608,
    "c": 0.01785,
    "h": 262.2
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#282D36
secondary
#676053
accent
#9E70B8
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050507
muted
#797A7A

Preview Lab

Preview with #282D36

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

Preview Lab → · Contrast checker → · Palette generator →

#282D36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva