#282C35#282C35

#282C35 is a dark, near-neutral blue. Relative luminance 0.025; OKLCH L 29.3% C 0.017 H 266.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#282C35
RGBrgb(40, 44, 53)
HSLhsl(222, 14%, 18%)
HSVhsv(222, 25%, 21%)
CMYKcmyk(24.5%, 17%, 0%, 79.2%)
CIE-LABlab(17.96, 0.67, -6.37)
CIE-LCHlch(17.96, 6.40, 276.02°)
OKLaboklab(29.3% -0.0011 -0.0173)
OKLCHoklch(29.3% 0.017 266.4)
XYZxyz(2.4182, 2.5095, 3.7244)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C35 #353128
analogous
#283235 #282C35 #2A2835
triadic
#282C35 #35282C #2C3528
tetradic
#282C35 #352832 #353128 #28352A
square
#282C35 #352832 #353128 #28352A
split-complementary
#282C35 #352A28 #323528
monochromatic
#0D0E11 #0E0F12 #282C35 #424958 #5D667B

Accessibility & contrast

On white

13.98
#282C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C35
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C35#FFFFFF#000000##FFFFFF
##282C351.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D35
Deuteranopia (green-blind)
#282B35
Tritanopia (blue-blind)
#252E2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282c35;
/* rgb */ color: rgb(40, 44, 53);
/* oklch */ color: oklch(29.3% 0.017 266.4);
Tailwind
colors: {
  custom: {
    50: '#62656c',
    500: '#282c35',
    950: '#000000',
  },
}
SCSS
$custom: #282c35;
$custom-light: #62656c;
$custom-dark: #000000;
JSON
{
  "hex": "#282c35",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 53
  },
  "hsl": {
    "h": 221.538,
    "s": 13.978,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29298,
    "c": 0.01737,
    "h": 266.4
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#282C35
secondary
#656053
accent
#A171B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #282C35

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

Preview Lab → · Contrast checker → · Palette generator →

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