#282A32#282A32

#282A32 is a dark, near-neutral blue. Relative luminance 0.023; OKLCH L 28.6% C 0.015 H 274.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#282A32
RGBrgb(40, 42, 50)
HSLhsl(228, 11%, 18%)
HSVhsv(228, 20%, 20%)
CMYKcmyk(20%, 16%, 0%, 80.4%)
CIE-LABlab(17.17, 1.21, -5.47)
CIE-LCHlch(17.17, 5.61, 282.50°)
OKLaboklab(28.63% 0.0011 -0.0148)
OKLCHoklch(28.63% 0.015 274.4)
XYZxyz(2.2786, 2.3373, 3.3481)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A32 #323028
analogous
#282F32 #282A32 #2B2832
triadic
#282A32 #32282A #2A3228
tetradic
#282A32 #32282F #323028 #28322B
square
#282A32 #32282F #323028 #28322B
split-complementary
#282A32 #322B28 #2F3228
monochromatic
#0E0E11 #0E0E11 #282A32 #434754 #5E6376

Accessibility & contrast

On white

14.31
#282A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A32
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A32#FFFFFF#000000##FFFFFF
##282A321.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B32
Deuteranopia (green-blind)
#272A32
Tritanopia (blue-blind)
#262B2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282a32;
/* rgb */ color: rgb(40, 42, 50);
/* oklch */ color: oklch(28.6% 0.015 274.4);
Tailwind
colors: {
  custom: {
    50: '#626369',
    500: '#282a32',
    950: '#000000',
  },
}
SCSS
$custom: #282a32;
$custom-light: #626369;
$custom-dark: #000000;
JSON
{
  "hex": "#282a32",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 50
  },
  "hsl": {
    "h": 228,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28634,
    "c": 0.01489,
    "h": 274.4
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#282A32
secondary
#625F54
accent
#A774B4
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282A32

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

Preview Lab → · Contrast checker → · Palette generator →

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