#282E41#282E41

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

Color values

HEX#282E41
RGBrgb(40, 46, 65)
HSLhsl(226, 24%, 21%)
HSVhsv(226, 38%, 25%)
CMYKcmyk(38.5%, 29.2%, 0%, 74.5%)
CIE-LABlab(19.17, 2.94, -12.80)
CIE-LCHlch(19.17, 13.13, 282.94°)
OKLaboklab(30.42% 0.0004 -0.0355)
OKLCHoklch(30.42% 0.035 270.7)
XYZxyz(2.8059, 2.7867, 5.3900)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E41 #413B28
analogous
#283A41 #282E41 #2E2841
triadic
#282E41 #41282E #2E4128
tetradic
#282E41 #41283A #413B28 #28412E
square
#282E41 #41283A #413B28 #28412E
split-complementary
#282E41 #412E28 #3A4128
monochromatic
#0C0D13 #11131B #282E41 #3F4967 #57648D

Accessibility & contrast

On white

13.48
#282E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E41
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E41#FFFFFF#000000##FFFFFF
##282E411.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283042
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#213235
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282e41;
/* rgb */ color: rgb(40, 46, 65);
/* oklch */ color: oklch(30.4% 0.035 270.7);
Tailwind
colors: {
  custom: {
    50: '#636675',
    500: '#282e41',
    950: '#000000',
  },
}
SCSS
$custom: #282e41;
$custom-light: #636675;
$custom-dark: #000000;
JSON
{
  "hex": "#282e41",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 65
  },
  "hsl": {
    "h": 225.6,
    "s": 23.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3042,
    "c": 0.03549,
    "h": 270.7
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#282E41
secondary
#736B52
accent
#AB68C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #282E41

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

Preview Lab → · Contrast checker → · Palette generator →

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