#282A2F#282A2F

#282A2F is a dark, near-neutral blue. Relative luminance 0.023; OKLCH L 28.5% C 0.010 H 268.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#282A2F
RGBrgb(40, 42, 47)
HSLhsl(223, 8%, 17%)
HSVhsv(223, 15%, 18%)
CMYKcmyk(14.9%, 10.6%, 0%, 81.6%)
CIE-LABlab(17.05, 0.39, -3.55)
CIE-LCHlch(17.05, 3.57, 276.31°)
OKLaboklab(28.5% -0.0003 -0.0096)
OKLCHoklch(28.5% 0.01 268.3)
XYZxyz(2.2160, 2.3123, 3.0183)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A2F #2F2D28
analogous
#282E2F #282A2F #2A282F
triadic
#282A2F #2F282A #2A2F28
tetradic
#282A2F #2F282E #2F2D28 #282F2A
square
#282A2F #2F282E #2F2D28 #282F2A
split-complementary
#282A2F #2F2A28 #2E2F28
monochromatic
#0E0F11 #0E0F11 #282A2F #444850 #606571

Accessibility & contrast

On white

14.36
#282A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#282A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A2F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A2F#FFFFFF#000000##FFFFFF
##282A2F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#262B2C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282a2f;
/* rgb */ color: rgb(40, 42, 47);
/* oklch */ color: oklch(28.5% 0.010 268.3);
Tailwind
colors: {
  custom: {
    50: '#616367',
    500: '#282a2f',
    950: '#000000',
  },
}
SCSS
$custom: #282a2f;
$custom-light: #616367;
$custom-dark: #000000;
JSON
{
  "hex": "#282a2f",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 222.857,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.00957,
    "h": 268.3
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#282A2F
secondary
#5E5C54
accent
#A077B1
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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