#282E4A#282E4A

#282E4A is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.051 H 273.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#282E4A
RGBrgb(40, 46, 74)
HSLhsl(229, 30%, 22%)
HSVhsv(229, 46%, 29%)
CMYKcmyk(45.9%, 37.8%, 0%, 71%)
CIE-LABlab(19.64, 5.93, -18.20)
CIE-LCHlch(19.64, 19.14, 288.06°)
OKLaboklab(30.94% 0.0034 -0.051)
OKLCHoklch(30.94% 0.051 273.8)
XYZxyz(3.0877, 2.8994, 6.8742)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E4A #4A4428
analogous
#283F4A #282E4A #33284A
triadic
#282E4A #4A282E #2E4A28
tetradic
#282E4A #4A283F #4A4428 #284A33
square
#282E4A #4A283F #4A4428 #284A33
split-complementary
#282E4A #4A3328 #3F4A28
monochromatic
#0B0C14 #131522 #282E4A #3D4772 #535F99

Accessibility & contrast

On white

13.29
#282E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E4A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E4A#FFFFFF#000000##FFFFFF
##282E4A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314B
Deuteranopia (green-blind)
#222E49
Tritanopia (blue-blind)
#1D3438
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282e4a;
/* rgb */ color: rgb(40, 46, 74);
/* oklch */ color: oklch(30.9% 0.051 273.8);
Tailwind
colors: {
  custom: {
    50: '#64667c',
    500: '#282e4a',
    950: '#000000',
  },
}
SCSS
$custom: #282e4a;
$custom-light: #64667c;
$custom-dark: #000000;
JSON
{
  "hex": "#282e4a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 229.412,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30937,
    "c": 0.05112,
    "h": 273.8
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#282E4A
secondary
#7C7551
accent
#B462C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#050509
muted
#7A7A7B

Preview Lab

Preview with #282E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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