#282C42#282C42

#282C42 is a dark, muted blue. Relative luminance 0.026; OKLCH L 30.0% C 0.040 H 275.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#282C42
RGBrgb(40, 44, 66)
HSLhsl(231, 25%, 21%)
HSVhsv(231, 39%, 26%)
CMYKcmyk(39.4%, 33.3%, 0%, 74.1%)
CIE-LABlab(18.57, 4.67, -14.42)
CIE-LCHlch(18.57, 15.16, 287.96°)
OKLaboklab(29.97% 0.0041 -0.0401)
OKLCHoklch(29.97% 0.04 275.8)
XYZxyz(2.7588, 2.6457, 5.5185)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C42 #423E28
analogous
#283942 #282C42 #312842
triadic
#282C42 #42282C #2C4228
tetradic
#282C42 #422839 #423E28 #284231
square
#282C42 #422839 #423E28 #284231
split-complementary
#282C42 #423128 #394228
monochromatic
#0C0D13 #11131C #282C42 #3F4568 #565F8E

Accessibility & contrast

On white

13.73
#282C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C42
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C42#FFFFFF#000000##FFFFFF
##282C421.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E43
Deuteranopia (green-blind)
#232C41
Tritanopia (blue-blind)
#213034
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282c42;
/* rgb */ color: rgb(40, 44, 66);
/* oklch */ color: oklch(30.0% 0.040 275.8);
Tailwind
colors: {
  custom: {
    50: '#636476',
    500: '#282c42',
    950: '#000000',
  },
}
SCSS
$custom: #282c42;
$custom-light: #636476;
$custom-dark: #000000;
JSON
{
  "hex": "#282c42",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 230.769,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29968,
    "c": 0.04032,
    "h": 275.8
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#282C42
secondary
#746F52
accent
#B367C1
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050508
muted
#797A7B

Preview Lab

Preview with #282C42

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

Preview Lab → · Contrast checker → · Palette generator →

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