#282E37#282E37

#282E37 is a dark, near-neutral blue. Relative luminance 0.027; OKLCH L 29.9% C 0.018 H 258.4°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#282E37
RGBrgb(40, 46, 55)
HSLhsl(216, 16%, 19%)
HSVhsv(216, 27%, 22%)
CMYKcmyk(27.3%, 16.4%, 0%, 78.4%)
CIE-LABlab(18.72, -0.13, -6.61)
CIE-LCHlch(18.72, 6.61, 268.88°)
OKLaboklab(29.92% -0.0037 -0.018)
OKLCHoklch(29.92% 0.018 258.4)
XYZxyz(2.5415, 2.6809, 3.9972)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E37 #373128
analogous
#283537 #282E37 #292837
triadic
#282E37 #37282E #2E3728
tetradic
#282E37 #372835 #373128 #283729
square
#282E37 #372835 #373128 #283729
split-complementary
#282E37 #372928 #353728
monochromatic
#0D0F12 #0E1014 #282E37 #424C5A #5C697E

Accessibility & contrast

On white

13.67
#282E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E37
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E37#FFFFFF#000000##FFFFFF
##282E371.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2E37
Deuteranopia (green-blind)
#292D37
Tritanopia (blue-blind)
#243031
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282e37;
/* rgb */ color: rgb(40, 46, 55);
/* oklch */ color: oklch(29.9% 0.018 258.4);
Tailwind
colors: {
  custom: {
    50: '#62666d',
    500: '#282e37',
    950: '#000000',
  },
}
SCSS
$custom: #282e37;
$custom-light: #62666d;
$custom-dark: #000000;
JSON
{
  "hex": "#282e37",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 55
  },
  "hsl": {
    "h": 216,
    "s": 15.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29918,
    "c": 0.01842,
    "h": 258.4
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#282E37
secondary
#685F53
accent
#9B6FB9
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #282E37

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

Preview Lab → · Contrast checker → · Palette generator →

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