#282A3C#282A3C

#282A3C is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.1% C 0.033 H 279.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#282A3C
RGBrgb(40, 42, 60)
HSLhsl(234, 20%, 20%)
HSVhsv(234, 33%, 24%)
CMYKcmyk(33.3%, 30%, 0%, 76.5%)
CIE-LABlab(17.61, 4.17, -11.76)
CIE-LCHlch(17.61, 12.48, 289.55°)
OKLaboklab(29.13% 0.0053 -0.0325)
OKLCHoklch(29.13% 0.033 279.2)
XYZxyz(2.5184, 2.4332, 4.6111)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A3C #3C3A28
analogous
#28343C #282A3C #30283C
triadic
#282A3C #3C282A #2A3C28
tetradic
#282A3C #3C2834 #3C3A28 #283C30
square
#282A3C #3C2834 #3C3A28 #283C30
split-complementary
#282A3C #3C3028 #343C28
monochromatic
#0C0D12 #101017 #282A3C #404461 #595D85

Accessibility & contrast

On white

14.13
#282A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#282A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A3C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A3C#FFFFFF#000000##FFFFFF
##282A3C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#242B3C
Tritanopia (blue-blind)
#232D30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282a3c;
/* rgb */ color: rgb(40, 42, 60);
/* oklch */ color: oklch(29.1% 0.033 279.2);
Tailwind
colors: {
  custom: {
    50: '#626371',
    500: '#282a3c',
    950: '#000000',
  },
}
SCSS
$custom: #282a3c;
$custom-light: #626371;
$custom-dark: #000000;
JSON
{
  "hex": "#282a3c",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 234,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29131,
    "c": 0.03293,
    "h": 279.2
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#282A3C
secondary
#6D6B52
accent
#B46BBD
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #282A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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