#282A38#282A38

#282A38 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.9% C 0.026 H 278.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#282A38
RGBrgb(40, 42, 56)
HSLhsl(233, 17%, 19%)
HSVhsv(233, 29%, 22%)
CMYKcmyk(28.6%, 25%, 0%, 78%)
CIE-LABlab(17.43, 2.95, -9.27)
CIE-LCHlch(17.43, 9.73, 287.67°)
OKLaboklab(28.92% 0.0037 -0.0254)
OKLCHoklch(28.92% 0.026 278.3)
XYZxyz(2.4167, 2.3925, 4.0751)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A38 #383628
analogous
#283238 #282A38 #2E2838
triadic
#282A38 #38282A #2A3828
tetradic
#282A38 #382832 #383628 #28382E
square
#282A38 #382832 #383628 #28382E
split-complementary
#282A38 #382E28 #323828
monochromatic
#0D0D12 #0F0F14 #282A38 #42455C #5B607F

Accessibility & contrast

On white

14.20
#282A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A38
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A38#FFFFFF#000000##FFFFFF
##282A381.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#252A38
Tritanopia (blue-blind)
#242D2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282a38;
/* rgb */ color: rgb(40, 42, 56);
/* oklch */ color: oklch(28.9% 0.026 278.3);
Tailwind
colors: {
  custom: {
    50: '#62636e',
    500: '#282a38',
    950: '#000000',
  },
}
SCSS
$custom: #282a38;
$custom-light: #62636e;
$custom-dark: #000000;
JSON
{
  "hex": "#282a38",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 232.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28922,
    "c": 0.02572,
    "h": 278.3
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#282A38
secondary
#696653
accent
#B06EB9
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050507
muted
#79797A

Preview Lab

Preview with #282A38

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

Preview Lab → · Contrast checker → · Palette generator →

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