#282A48#282A48

#282A48 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.8% C 0.054 H 279.7°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#282A48
RGBrgb(40, 42, 72)
HSLhsl(236, 29%, 22%)
HSVhsv(236, 44%, 28%)
CMYKcmyk(44.4%, 41.7%, 0%, 71.8%)
CIE-LABlab(18.25, 8.10, -19.01)
CIE-LCHlch(18.25, 20.66, 293.07°)
OKLaboklab(29.84% 0.0091 -0.0534)
OKLCHoklch(29.84% 0.054 279.7)
XYZxyz(2.8724, 2.5748, 6.4753)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A48 #484628
analogous
#283A48 #282A48 #362848
triadic
#282A48 #48282A #2A4828
tetradic
#282A48 #48283A #484628 #284836
square
#282A48 #48283A #484628 #284836
split-complementary
#282A48 #483628 #3A4828
monochromatic
#0B0B14 #121321 #282A48 #3E416F #545897

Accessibility & contrast

On white

13.86
#282A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A48
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A48#FFFFFF#000000##FFFFFF
##282A481.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202E49
Deuteranopia (green-blind)
#1E2B47
Tritanopia (blue-blind)
#1E3035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282a48;
/* rgb */ color: rgb(40, 42, 72);
/* oklch */ color: oklch(29.8% 0.054 279.7);
Tailwind
colors: {
  custom: {
    50: '#63637b',
    500: '#282a48',
    950: '#000000',
  },
}
SCSS
$custom: #282a48;
$custom-light: #63637b;
$custom-dark: #000000;
JSON
{
  "hex": "#282a48",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 236.25,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.05415,
    "h": 279.7
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#282A48
secondary
#7A7852
accent
#BF63C5
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#050509
muted
#7A797B

Preview Lab

Preview with #282A48

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

Preview Lab → · Contrast checker → · Palette generator →

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