#282C3C#282C3C

#282C3C is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.6% C 0.030 H 273.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#282C3C
RGBrgb(40, 44, 60)
HSLhsl(228, 20%, 20%)
HSVhsv(228, 33%, 24%)
CMYKcmyk(33.3%, 26.7%, 0%, 76.5%)
CIE-LABlab(18.27, 2.77, -10.75)
CIE-LCHlch(18.27, 11.10, 284.43°)
OKLaboklab(29.64% 0.0019 -0.0296)
OKLCHoklch(29.64% 0.03 273.6)
XYZxyz(2.5911, 2.5786, 4.6353)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C3C #3C3828
analogous
#28363C #282C3C #2E283C
triadic
#282C3C #3C282C #2C3C28
tetradic
#282C3C #3C2836 #3C3828 #283C2E
square
#282C3C #3C2836 #3C3828 #283C2E
split-complementary
#282C3C #3C2E28 #363C28
monochromatic
#0C0D12 #101117 #282C3C #404761 #596285

Accessibility & contrast

On white

13.85
#282C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#282C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C3C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C3C#FFFFFF#000000##FFFFFF
##282C3C1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3D
Deuteranopia (green-blind)
#262C3C
Tritanopia (blue-blind)
#232F31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282c3c;
/* rgb */ color: rgb(40, 44, 60);
/* oklch */ color: oklch(29.6% 0.030 273.6);
Tailwind
colors: {
  custom: {
    50: '#626571',
    500: '#282c3c',
    950: '#000000',
  },
}
SCSS
$custom: #282c3c;
$custom-light: #626571;
$custom-dark: #000000;
JSON
{
  "hex": "#282c3c",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 60
  },
  "hsl": {
    "h": 228,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29642,
    "c": 0.0297,
    "h": 273.6
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#282C3C
secondary
#6D6852
accent
#AC6BBD
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050507
muted
#797A7A

Preview Lab

Preview with #282C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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