#282E40#282E40

#282E40 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.4% C 0.034 H 270.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#282E40
RGBrgb(40, 46, 64)
HSLhsl(225, 23%, 20%)
HSVhsv(225, 38%, 25%)
CMYKcmyk(37.5%, 28.1%, 0%, 74.9%)
CIE-LABlab(19.12, 2.62, -12.19)
CIE-LCHlch(19.12, 12.47, 282.14°)
OKLaboklab(30.37% 0 -0.0337)
OKLCHoklch(30.37% 0.034 270.1)
XYZxyz(2.7772, 2.7752, 5.2388)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E40 #403A28
analogous
#283A40 #282E40 #2E2840
triadic
#282E40 #40282E #2E4028
tetradic
#282E40 #40283A #403A28 #28402E
square
#282E40 #40283A #403A28 #28402E
split-complementary
#282E40 #402E28 #3A4028
monochromatic
#0C0E13 #10131A #282E40 #404966 #57648B

Accessibility & contrast

On white

13.50
#282E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#282E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E40
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E40#FFFFFF#000000##FFFFFF
##282E401.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283041
Deuteranopia (green-blind)
#262D40
Tritanopia (blue-blind)
#213234
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282e40;
/* rgb */ color: rgb(40, 46, 64);
/* oklch */ color: oklch(30.4% 0.034 270.1);
Tailwind
colors: {
  custom: {
    50: '#626674',
    500: '#282e40',
    950: '#000000',
  },
}
SCSS
$custom: #282e40;
$custom-light: #626674;
$custom-dark: #000000;
JSON
{
  "hex": "#282e40",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 225,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.03375,
    "h": 270.1
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#282E40
secondary
#726A52
accent
#AA68C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #282E40

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

Preview Lab → · Contrast checker → · Palette generator →

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