#282E48#282E48

#282E48 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.8% C 0.048 H 273.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#282E48
RGBrgb(40, 46, 72)
HSLhsl(229, 29%, 22%)
HSVhsv(229, 44%, 28%)
CMYKcmyk(44.4%, 36.1%, 0%, 71.8%)
CIE-LABlab(19.53, 5.26, -17.01)
CIE-LCHlch(19.53, 17.80, 287.17°)
OKLaboklab(30.82% 0.0028 -0.0476)
OKLCHoklch(30.82% 0.048 273.4)
XYZxyz(3.0214, 2.8728, 6.5249)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E48 #484228
analogous
#283E48 #282E48 #322848
triadic
#282E48 #48282E #2E4828
tetradic
#282E48 #48283E #484228 #284832
square
#282E48 #48283E #484228 #284832
split-complementary
#282E48 #483228 #3E4828
monochromatic
#0B0D14 #121521 #282E48 #3E476F #546097

Accessibility & contrast

On white

13.34
#282E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E48
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E48#FFFFFF#000000##FFFFFF
##282E481.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253149
Deuteranopia (green-blind)
#232E47
Tritanopia (blue-blind)
#1E3337
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282e48;
/* rgb */ color: rgb(40, 46, 72);
/* oklch */ color: oklch(30.8% 0.048 273.4);
Tailwind
colors: {
  custom: {
    50: '#63667b',
    500: '#282e48',
    950: '#000000',
  },
}
SCSS
$custom: #282e48;
$custom-light: #63667b;
$custom-dark: #000000;
JSON
{
  "hex": "#282e48",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 228.75,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30817,
    "c": 0.04767,
    "h": 273.4
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#282E48
secondary
#7A7352
accent
#B263C5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050509
muted
#7A7A7B

Preview Lab

Preview with #282E48

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

Preview Lab → · Contrast checker → · Palette generator →

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