#282E3E#282E3E

#282E3E is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.3% C 0.030 H 268.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#282E3E
RGBrgb(40, 46, 62)
HSLhsl(224, 22%, 20%)
HSVhsv(224, 35%, 24%)
CMYKcmyk(35.5%, 25.8%, 0%, 75.7%)
CIE-LABlab(19.03, 1.99, -10.97)
CIE-LCHlch(19.03, 11.14, 280.29°)
OKLaboklab(30.26% -0.0007 -0.0303)
OKLCHoklch(30.26% 0.03 268.6)
XYZxyz(2.7213, 2.7528, 4.9445)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E3E #3E3828
analogous
#28393E #282E3E #2D283E
triadic
#282E3E #3E282E #2E3E28
tetradic
#282E3E #3E2839 #3E3828 #283E2D
square
#282E3E #3E2839 #3E3828 #283E2D
split-complementary
#282E3E #3E2D28 #393E28
monochromatic
#0C0E13 #101219 #282E3E #404A63 #586588

Accessibility & contrast

On white

13.54
#282E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E3E
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E3E#FFFFFF#000000##FFFFFF
##282E3E1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292F3F
Deuteranopia (green-blind)
#272D3E
Tritanopia (blue-blind)
#223133
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282e3e;
/* rgb */ color: rgb(40, 46, 62);
/* oklch */ color: oklch(30.3% 0.030 268.6);
Tailwind
colors: {
  custom: {
    50: '#626673',
    500: '#282e3e',
    950: '#000000',
  },
}
SCSS
$custom: #282e3e;
$custom-light: #626673;
$custom-dark: #000000;
JSON
{
  "hex": "#282e3e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 62
  },
  "hsl": {
    "h": 223.636,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.30261,
    "c": 0.03027,
    "h": 268.6
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#282E3E
secondary
#706852
accent
#A76ABE
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050608
muted
#797A7B

Preview Lab

Preview with #282E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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