#282836#282836

#282836 is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.3% C 0.026 H 284.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#282836
RGBrgb(40, 40, 54)
HSLhsl(240, 15%, 18%)
HSVhsv(240, 26%, 21%)
CMYKcmyk(25.9%, 25.9%, 0%, 78.8%)
CIE-LABlab(16.68, 3.77, -9.02)
CIE-LCHlch(16.68, 9.78, 292.69°)
OKLaboklab(28.31% 0.0065 -0.0247)
OKLCHoklch(28.31% 0.026 284.6)
XYZxyz(2.2996, 2.2350, 3.7996)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282836 #363628
analogous
#282F36 #282836 #2F2836
triadic
#282836 #362828 #283628
tetradic
#282836 #36282F #363628 #28362F
square
#282836 #36282F #363628 #28362F
split-complementary
#282836 #362F28 #2F3628
monochromatic
#0D0D12 #0E0E13 #282836 #424259 #5C5C7C

Accessibility & contrast

On white

14.51
#282836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282836
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282836#FFFFFF#000000##FFFFFF
##2828361.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A37
Deuteranopia (green-blind)
#242936
Tritanopia (blue-blind)
#252A2D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282836;
/* rgb */ color: rgb(40, 40, 54);
/* oklch */ color: oklch(28.3% 0.026 284.6);
Tailwind
colors: {
  custom: {
    50: '#62616d',
    500: '#282836',
    950: '#000000',
  },
}
SCSS
$custom: #282836;
$custom-light: #62616d;
$custom-dark: #000000;
JSON
{
  "hex": "#282836",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 240,
    "s": 14.894,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28309,
    "c": 0.02556,
    "h": 284.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#282836
secondary
#676753
accent
#B870B8
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050507
muted
#79797A

Preview Lab

Preview with #282836

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

Preview Lab → · Contrast checker → · Palette generator →

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