#282D40#282D40

#282D40 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.1% C 0.035 H 272.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#282D40
RGBrgb(40, 45, 64)
HSLhsl(228, 23%, 20%)
HSVhsv(228, 38%, 25%)
CMYKcmyk(37.5%, 29.7%, 0%, 74.9%)
CIE-LABlab(18.79, 3.32, -12.70)
CIE-LCHlch(18.79, 13.13, 284.66°)
OKLaboklab(30.11% 0.0017 -0.0352)
OKLCHoklch(30.11% 0.035 272.7)
XYZxyz(2.7386, 2.6980, 5.2260)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D40 #403B28
analogous
#283940 #282D40 #2F2840
triadic
#282D40 #40282D #2D4028
tetradic
#282D40 #402839 #403B28 #28402F
square
#282D40 #402839 #403B28 #28402F
split-complementary
#282D40 #402F28 #394028
monochromatic
#0C0D13 #10131A #282D40 #404766 #57628B

Accessibility & contrast

On white

13.64
#282D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D40
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D40#FFFFFF#000000##FFFFFF
##282D401.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#213134
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282d40;
/* rgb */ color: rgb(40, 45, 64);
/* oklch */ color: oklch(30.1% 0.035 272.7);
Tailwind
colors: {
  custom: {
    50: '#626575',
    500: '#282d40',
    950: '#000000',
  },
}
SCSS
$custom: #282d40;
$custom-light: #626575;
$custom-dark: #000000;
JSON
{
  "hex": "#282d40",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 227.5,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.03523,
    "h": 272.7
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#282D40
secondary
#726B52
accent
#AD68C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050508
muted
#797A7B

Preview Lab

Preview with #282D40

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

Preview Lab → · Contrast checker → · Palette generator →

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