#282C3E#282C3E

#282C3E is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.7% C 0.033 H 274.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#282C3E
RGBrgb(40, 44, 62)
HSLhsl(229, 22%, 20%)
HSVhsv(229, 35%, 24%)
CMYKcmyk(35.5%, 29%, 0%, 75.7%)
CIE-LABlab(18.37, 3.39, -11.98)
CIE-LCHlch(18.37, 12.45, 285.80°)
OKLaboklab(29.75% 0.0026 -0.0331)
OKLCHoklch(29.75% 0.033 274.5)
XYZxyz(2.6450, 2.6002, 4.9190)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C3E #3E3A28
analogous
#28373E #282C3E #2F283E
triadic
#282C3E #3E282C #2C3E28
tetradic
#282C3E #3E2837 #3E3A28 #283E2F
square
#282C3E #3E2837 #3E3A28 #283E2F
split-complementary
#282C3E #3E2F28 #373E28
monochromatic
#0C0D13 #101219 #282C3E #404663 #586188

Accessibility & contrast

On white

13.82
#282C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C3E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C3E#FFFFFF#000000##FFFFFF
##282C3E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E3F
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#222F32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282c3e;
/* rgb */ color: rgb(40, 44, 62);
/* oklch */ color: oklch(29.7% 0.033 274.5);
Tailwind
colors: {
  custom: {
    50: '#626573',
    500: '#282c3e',
    950: '#000000',
  },
}
SCSS
$custom: #282c3e;
$custom-light: #626573;
$custom-dark: #000000;
JSON
{
  "hex": "#282c3e",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 62
  },
  "hsl": {
    "h": 229.091,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.29747,
    "c": 0.03324,
    "h": 274.5
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#282C3E
secondary
#706A52
accent
#AF6ABE
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050508
muted
#797A7B

Preview Lab

Preview with #282C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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