#282937#282937

#282937 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.6% C 0.026 H 281.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#282937
RGBrgb(40, 41, 55)
HSLhsl(236, 16%, 19%)
HSVhsv(236, 27%, 22%)
CMYKcmyk(27.3%, 25.5%, 0%, 78.4%)
CIE-LABlab(17.05, 3.36, -9.15)
CIE-LCHlch(17.05, 9.74, 290.16°)
OKLaboklab(28.62% 0.0051 -0.0251)
OKLCHoklch(28.62% 0.026 281.4)
XYZxyz(2.3574, 2.3128, 3.9359)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282937 #373628
analogous
#283037 #282937 #2E2837
triadic
#282937 #372829 #293728
tetradic
#282937 #372830 #373628 #28372E
square
#282937 #372830 #373628 #28372E
split-complementary
#282937 #372E28 #303728
monochromatic
#0D0D12 #0E0F14 #282937 #42435A #5C5E7E

Accessibility & contrast

On white

14.36
#282937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#282937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282937
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282937#FFFFFF#000000##FFFFFF
##2829371.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B38
Deuteranopia (green-blind)
#252A37
Tritanopia (blue-blind)
#252B2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282937;
/* rgb */ color: rgb(40, 41, 55);
/* oklch */ color: oklch(28.6% 0.026 281.4);
Tailwind
colors: {
  custom: {
    50: '#62626d',
    500: '#282937',
    950: '#000000',
  },
}
SCSS
$custom: #282937;
$custom-light: #62626d;
$custom-dark: #000000;
JSON
{
  "hex": "#282937",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 55
  },
  "hsl": {
    "h": 236,
    "s": 15.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28615,
    "c": 0.0256,
    "h": 281.4
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#282937
secondary
#686653
accent
#B46FB9
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050507
muted
#79797A

Preview Lab

Preview with #282937

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

Preview Lab → · Contrast checker → · Palette generator →

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