#282D35#282D35

#282D35 is a dark, near-neutral blue. Relative luminance 0.026; OKLCH L 29.6% C 0.016 H 259.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#282D35
RGBrgb(40, 45, 53)
HSLhsl(217, 14%, 18%)
HSVhsv(217, 25%, 21%)
CMYKcmyk(24.5%, 15.1%, 0%, 79.2%)
CIE-LABlab(18.30, -0.02, -5.86)
CIE-LCHlch(18.30, 5.86, 269.81°)
OKLaboklab(29.56% -0.0029 -0.0159)
OKLCHoklch(29.56% 0.016 259.8)
XYZxyz(2.4559, 2.5849, 3.7370)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D35 #353028
analogous
#283335 #282D35 #292835
triadic
#282D35 #35282D #2D3528
tetradic
#282D35 #352833 #353028 #283529
square
#282D35 #352833 #353028 #283529
split-complementary
#282D35 #352928 #333528
monochromatic
#0D0F11 #0E0F12 #282D35 #424B58 #5D687B

Accessibility & contrast

On white

13.84
#282D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#282D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D35
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D35#FFFFFF#000000##FFFFFF
##282D351.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D35
Deuteranopia (green-blind)
#292C35
Tritanopia (blue-blind)
#252F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282d35;
/* rgb */ color: rgb(40, 45, 53);
/* oklch */ color: oklch(29.6% 0.016 259.8);
Tailwind
colors: {
  custom: {
    50: '#62656c',
    500: '#282d35',
    950: '#000000',
  },
}
SCSS
$custom: #282d35;
$custom-light: #62656c;
$custom-dark: #000000;
JSON
{
  "hex": "#282d35",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 53
  },
  "hsl": {
    "h": 216.923,
    "s": 13.978,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.0162,
    "h": 259.8
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#282D35
secondary
#655E53
accent
#9C71B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #282D35

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

Preview Lab → · Contrast checker → · Palette generator →

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