#282C3A#282C3A

#282C3A is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.5% C 0.026 H 272.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#282C3A
RGBrgb(40, 44, 58)
HSLhsl(227, 18%, 19%)
HSVhsv(227, 31%, 23%)
CMYKcmyk(31%, 24.1%, 0%, 77.3%)
CIE-LABlab(18.18, 2.15, -9.51)
CIE-LCHlch(18.18, 9.75, 282.75°)
OKLaboklab(29.54% 0.0011 -0.0261)
OKLCHoklch(29.54% 0.026 272.3)
XYZxyz(2.5393, 2.5579, 4.3621)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C3A #3A3628
analogous
#28353A #282C3A #2D283A
triadic
#282C3A #3A282C #2C3A28
tetradic
#282C3A #3A2835 #3A3628 #283A2D
square
#282C3A #3A2835 #3A3628 #283A2D
split-complementary
#282C3A #3A2D28 #353A28
monochromatic
#0C0E12 #0F1116 #282C3A #41475E #5A6382

Accessibility & contrast

On white

13.89
#282C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#282C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C3A
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C3A#FFFFFF#000000##FFFFFF
##282C3A1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3B
Deuteranopia (green-blind)
#262C3A
Tritanopia (blue-blind)
#232F31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282c3a;
/* rgb */ color: rgb(40, 44, 58);
/* oklch */ color: oklch(29.5% 0.026 272.3);
Tailwind
colors: {
  custom: {
    50: '#626570',
    500: '#282c3a',
    950: '#000000',
  },
}
SCSS
$custom: #282c3a;
$custom-light: #626570;
$custom-dark: #000000;
JSON
{
  "hex": "#282c3a",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 226.667,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29539,
    "c": 0.02615,
    "h": 272.3
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#282C3A
secondary
#6B6653
accent
#AA6DBB
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050507
muted
#797A7A

Preview Lab

Preview with #282C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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