#282C33#282C33

#282C33 is a dark, near-neutral blue. Relative luminance 0.025; OKLCH L 29.2% C 0.014 H 261.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#282C33
RGBrgb(40, 44, 51)
HSLhsl(218, 12%, 18%)
HSVhsv(218, 22%, 20%)
CMYKcmyk(21.6%, 13.7%, 0%, 80%)
CIE-LABlab(17.88, 0.10, -5.10)
CIE-LCHlch(17.88, 5.10, 271.18°)
OKLaboklab(29.21% -0.002 -0.0138)
OKLCHoklch(29.21% 0.014 261.7)
XYZxyz(2.3731, 2.4914, 3.4872)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C33 #332F28
analogous
#283133 #282C33 #292833
triadic
#282C33 #33282C #2C3328
tetradic
#282C33 #332831 #332F28 #283329
square
#282C33 #332831 #332F28 #283329
split-complementary
#282C33 #332928 #313328
monochromatic
#0D0F11 #0D0F11 #282C33 #434A55 #5E6778

Accessibility & contrast

On white

14.02
#282C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C33
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C33#FFFFFF#000000##FFFFFF
##282C331.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C33
Deuteranopia (green-blind)
#292B33
Tritanopia (blue-blind)
#252D2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282c33;
/* rgb */ color: rgb(40, 44, 51);
/* oklch */ color: oklch(29.2% 0.014 261.7);
Tailwind
colors: {
  custom: {
    50: '#62656a',
    500: '#282c33',
    950: '#000000',
  },
}
SCSS
$custom: #282c33;
$custom-light: #62656a;
$custom-dark: #000000;
JSON
{
  "hex": "#282c33",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 51
  },
  "hsl": {
    "h": 218.182,
    "s": 12.088,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29207,
    "c": 0.01398,
    "h": 261.7
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#282C33
secondary
#635E54
accent
#9D73B5
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #282C33

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

Preview Lab → · Contrast checker → · Palette generator →

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