#282E42#282E42

#282E42 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.037 H 271.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#282E42
RGBrgb(40, 46, 66)
HSLhsl(226, 25%, 21%)
HSVhsv(226, 39%, 26%)
CMYKcmyk(39.4%, 30.3%, 0%, 74.1%)
CIE-LABlab(19.22, 3.27, -13.41)
CIE-LCHlch(19.22, 13.80, 283.69°)
OKLaboklab(30.47% 0.0008 -0.0372)
OKLCHoklch(30.47% 0.037 271.2)
XYZxyz(2.8351, 2.7983, 5.5440)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E42 #423C28
analogous
#283B42 #282E42 #2F2842
triadic
#282E42 #42282E #2E4228
tetradic
#282E42 #42283B #423C28 #28422F
square
#282E42 #42283B #423C28 #28422F
split-complementary
#282E42 #422F28 #3B4228
monochromatic
#0C0D13 #11131C #282E42 #3F4968 #56638E

Accessibility & contrast

On white

13.46
#282E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E42
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E42#FFFFFF#000000##FFFFFF
##282E421.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283043
Deuteranopia (green-blind)
#252E42
Tritanopia (blue-blind)
#203235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282e42;
/* rgb */ color: rgb(40, 46, 66);
/* oklch */ color: oklch(30.5% 0.037 271.2);
Tailwind
colors: {
  custom: {
    50: '#636676',
    500: '#282e42',
    950: '#000000',
  },
}
SCSS
$custom: #282e42;
$custom-light: #636676;
$custom-dark: #000000;
JSON
{
  "hex": "#282e42",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 226.154,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30474,
    "c": 0.03723,
    "h": 271.2
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#282E42
secondary
#746C52
accent
#AC67C1
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #282E42

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

Preview Lab → · Contrast checker → · Palette generator →

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