#282A36#282A36

#282A36 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.8% C 0.022 H 277.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#282A36
RGBrgb(40, 42, 54)
HSLhsl(231, 15%, 18%)
HSVhsv(231, 26%, 21%)
CMYKcmyk(25.9%, 22.2%, 0%, 78.8%)
CIE-LABlab(17.34, 2.36, -8.01)
CIE-LCHlch(17.34, 8.35, 286.41°)
OKLaboklab(28.82% 0.0029 -0.0219)
OKLCHoklch(28.82% 0.022 277.5)
XYZxyz(2.3687, 2.3733, 3.8226)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A36 #363428
analogous
#283136 #282A36 #2D2836
triadic
#282A36 #36282A #2A3628
tetradic
#282A36 #362831 #363428 #28362D
square
#282A36 #362831 #363428 #28362D
split-complementary
#282A36 #362D28 #313628
monochromatic
#0D0E12 #0E0F13 #282A36 #424559 #5C617C

Accessibility & contrast

On white

14.24
#282A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A36
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A36#FFFFFF#000000##FFFFFF
##282A361.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272B37
Deuteranopia (green-blind)
#262A36
Tritanopia (blue-blind)
#252C2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282a36;
/* rgb */ color: rgb(40, 42, 54);
/* oklch */ color: oklch(28.8% 0.022 277.5);
Tailwind
colors: {
  custom: {
    50: '#62636d',
    500: '#282a36',
    950: '#000000',
  },
}
SCSS
$custom: #282a36;
$custom-light: #62636d;
$custom-dark: #000000;
JSON
{
  "hex": "#282a36",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 231.429,
    "s": 14.894,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28823,
    "c": 0.0221,
    "h": 277.5
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#282A36
secondary
#676453
accent
#AD70B8
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050507
muted
#79797A

Preview Lab

Preview with #282A36

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

Preview Lab → · Contrast checker → · Palette generator →

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