#282A3A#282A3A

#282A3A is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.0% C 0.029 H 278.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#282A3A
RGBrgb(40, 42, 58)
HSLhsl(233, 18%, 19%)
HSVhsv(233, 31%, 23%)
CMYKcmyk(31%, 27.6%, 0%, 77.3%)
CIE-LABlab(17.52, 3.56, -10.52)
CIE-LCHlch(17.52, 11.10, 288.69°)
OKLaboklab(29.03% 0.0045 -0.029)
OKLCHoklch(29.03% 0.029 278.9)
XYZxyz(2.4666, 2.4125, 4.3379)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A3A #3A3828
analogous
#28333A #282A3A #2F283A
triadic
#282A3A #3A282A #2A3A28
tetradic
#282A3A #3A2833 #3A3828 #283A2F
square
#282A3A #3A2833 #3A3828 #283A2F
split-complementary
#282A3A #3A2F28 #333A28
monochromatic
#0C0D12 #0F1016 #282A3A #41445E #5A5E82

Accessibility & contrast

On white

14.16
#282A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A3A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A3A#FFFFFF#000000##FFFFFF
##282A3A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3B
Deuteranopia (green-blind)
#252A3A
Tritanopia (blue-blind)
#242D2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282a3a;
/* rgb */ color: rgb(40, 42, 58);
/* oklch */ color: oklch(29.0% 0.029 278.9);
Tailwind
colors: {
  custom: {
    50: '#626370',
    500: '#282a3a',
    950: '#000000',
  },
}
SCSS
$custom: #282a3a;
$custom-light: #626370;
$custom-dark: #000000;
JSON
{
  "hex": "#282a3a",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 233.333,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29025,
    "c": 0.02933,
    "h": 278.9
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#282A3A
secondary
#6B6853
accent
#B26DBB
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #282A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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