#282E3A#282E3A

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

Color values

HEX#282E3A
RGBrgb(40, 46, 58)
HSLhsl(220, 18%, 19%)
HSVhsv(220, 31%, 23%)
CMYKcmyk(31%, 20.7%, 0%, 77.3%)
CIE-LABlab(18.85, 0.76, -8.49)
CIE-LCHlch(18.85, 8.52, 275.12°)
OKLaboklab(30.06% -0.0024 -0.0233)
OKLCHoklch(30.06% 0.023 264.1)
XYZxyz(2.6156, 2.7105, 4.3875)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E3A #3A3428
analogous
#28373A #282E3A #2B283A
triadic
#282E3A #3A282E #2E3A28
tetradic
#282E3A #3A2837 #3A3428 #283A2B
square
#282E3A #3A2837 #3A3428 #283A2B
split-complementary
#282E3A #3A2B28 #373A28
monochromatic
#0C0E12 #0F1116 #282E3A #414B5E #5A6782

Accessibility & contrast

On white

13.62
#282E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E3A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E3A#FFFFFF#000000##FFFFFF
##282E3A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3B
Deuteranopia (green-blind)
#282D3A
Tritanopia (blue-blind)
#233032
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282e3a;
/* rgb */ color: rgb(40, 46, 58);
/* oklch */ color: oklch(30.1% 0.023 264.1);
Tailwind
colors: {
  custom: {
    50: '#626670',
    500: '#282e3a',
    950: '#000000',
  },
}
SCSS
$custom: #282e3a;
$custom-light: #626670;
$custom-dark: #000000;
JSON
{
  "hex": "#282e3a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 58
  },
  "hsl": {
    "h": 220,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3006,
    "c": 0.0234,
    "h": 264.1
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#282E3A
secondary
#6B6353
accent
#A16DBB
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #282E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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