#282930#282930

#282930 is a dark, near-neutral blue. Relative luminance 0.022; OKLCH L 28.3% C 0.013 H 279.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#282930
RGBrgb(40, 41, 48)
HSLhsl(233, 9%, 17%)
HSVhsv(233, 17%, 19%)
CMYKcmyk(16.7%, 14.6%, 0%, 81.2%)
CIE-LABlab(16.75, 1.36, -4.70)
CIE-LCHlch(16.75, 4.89, 286.16°)
OKLaboklab(28.28% 0.002 -0.0127)
OKLCHoklch(28.28% 0.013 279.1)
XYZxyz(2.2014, 2.2504, 3.1141)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282930 #302F28
analogous
#282D30 #282930 #2B2830
triadic
#282930 #302829 #293028
tetradic
#282930 #30282D #302F28 #28302B
square
#282930 #30282D #302F28 #28302B
split-complementary
#282930 #302B28 #2D3028
monochromatic
#0E0E11 #0E0E11 #282930 #444651 #606273

Accessibility & contrast

On white

14.48
#282930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282930
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282930#FFFFFF#000000##FFFFFF
##2829301.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A30
Deuteranopia (green-blind)
#272930
Tritanopia (blue-blind)
#262A2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282930;
/* rgb */ color: rgb(40, 41, 48);
/* oklch */ color: oklch(28.3% 0.013 279.1);
Tailwind
colors: {
  custom: {
    50: '#616268',
    500: '#282930',
    950: '#000000',
  },
}
SCSS
$custom: #282930;
$custom-light: #616268;
$custom-dark: #000000;
JSON
{
  "hex": "#282930",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 48
  },
  "hsl": {
    "h": 232.5,
    "s": 9.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28282,
    "c": 0.01286,
    "h": 279.1
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#282930
secondary
#605E54
accent
#AB76B2
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282930

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

Preview Lab → · Contrast checker → · Palette generator →

#282930 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva