#282C38#282C38

#282C38 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.4% C 0.023 H 270.5°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#282C38
RGBrgb(40, 44, 56)
HSLhsl(225, 17%, 19%)
HSVhsv(225, 29%, 22%)
CMYKcmyk(28.6%, 21.4%, 0%, 78%)
CIE-LABlab(18.09, 1.55, -8.26)
CIE-LCHlch(18.09, 8.40, 280.64°)
OKLaboklab(29.44% 0.0002 -0.0226)
OKLCHoklch(29.44% 0.023 270.5)
XYZxyz(2.4894, 2.5379, 4.0993)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C38 #383428
analogous
#283438 #282C38 #2C2838
triadic
#282C38 #38282C #2C3828
tetradic
#282C38 #382834 #383428 #28382C
square
#282C38 #382834 #383428 #28382C
split-complementary
#282C38 #382C28 #343828
monochromatic
#0D0E12 #0F1014 #282C38 #42485C #5B647F

Accessibility & contrast

On white

13.93
#282C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#282C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C38
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C38#FFFFFF#000000##FFFFFF
##282C381.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D39
Deuteranopia (green-blind)
#272C38
Tritanopia (blue-blind)
#242E30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282c38;
/* rgb */ color: rgb(40, 44, 56);
/* oklch */ color: oklch(29.4% 0.023 270.5);
Tailwind
colors: {
  custom: {
    50: '#62656e',
    500: '#282c38',
    950: '#000000',
  },
}
SCSS
$custom: #282c38;
$custom-light: #62656e;
$custom-dark: #000000;
JSON
{
  "hex": "#282c38",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 225,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2944,
    "c": 0.02261,
    "h": 270.5
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#282C38
secondary
#696353
accent
#A76EB9
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050507
muted
#797A7A

Preview Lab

Preview with #282C38

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

Preview Lab → · Contrast checker → · Palette generator →

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