#282C41#282C41

#282C41 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.9% C 0.039 H 275.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#282C41
RGBrgb(40, 44, 65)
HSLhsl(230, 24%, 21%)
HSVhsv(230, 38%, 25%)
CMYKcmyk(38.5%, 32.3%, 0%, 74.5%)
CIE-LABlab(18.51, 4.35, -13.81)
CIE-LCHlch(18.51, 14.48, 287.48°)
OKLaboklab(29.91% 0.0037 -0.0384)
OKLCHoklch(29.91% 0.039 275.5)
XYZxyz(2.7296, 2.6340, 5.3646)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C41 #413D28
analogous
#283841 #282C41 #302841
triadic
#282C41 #41282C #2C4128
tetradic
#282C41 #412838 #413D28 #284130
square
#282C41 #412838 #413D28 #284130
split-complementary
#282C41 #413028 #384128
monochromatic
#0C0D13 #11121B #282C41 #3F4667 #575F8D

Accessibility & contrast

On white

13.75
#282C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#282C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C41
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C41#FFFFFF#000000##FFFFFF
##282C411.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E42
Deuteranopia (green-blind)
#242C40
Tritanopia (blue-blind)
#213033
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282c41;
/* rgb */ color: rgb(40, 44, 65);
/* oklch */ color: oklch(29.9% 0.039 275.5);
Tailwind
colors: {
  custom: {
    50: '#636475',
    500: '#282c41',
    950: '#000000',
  },
}
SCSS
$custom: #282c41;
$custom-light: #636475;
$custom-dark: #000000;
JSON
{
  "hex": "#282c41",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 65
  },
  "hsl": {
    "h": 230.4,
    "s": 23.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.03856,
    "h": 275.5
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#282C41
secondary
#736E52
accent
#B268C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050508
muted
#797A7B

Preview Lab

Preview with #282C41

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

Preview Lab → · Contrast checker → · Palette generator →

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