#282A44#282A44

#282A44 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.6% C 0.047 H 279.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#282A44
RGBrgb(40, 42, 68)
HSLhsl(236, 26%, 21%)
HSVhsv(236, 41%, 27%)
CMYKcmyk(41.2%, 38.2%, 0%, 73.3%)
CIE-LABlab(18.03, 6.75, -16.63)
CIE-LCHlch(18.03, 17.95, 292.10°)
OKLaboklab(29.59% 0.008 -0.0465)
OKLCHoklch(29.59% 0.047 279.7)
XYZxyz(2.7461, 2.5243, 5.8103)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A44 #444228
analogous
#283844 #282A44 #342844
triadic
#282A44 #44282A #2A4428
tetradic
#282A44 #442838 #444228 #284434
square
#282A44 #442838 #444228 #284434
split-complementary
#282A44 #443428 #384428
monochromatic
#0B0C13 #11121D #282A44 #3F426B #555A91

Accessibility & contrast

On white

13.96
#282A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A44
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A44#FFFFFF#000000##FFFFFF
##282A441.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D45
Deuteranopia (green-blind)
#202B43
Tritanopia (blue-blind)
#202F33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282a44;
/* rgb */ color: rgb(40, 42, 68);
/* oklch */ color: oklch(29.6% 0.047 279.7);
Tailwind
colors: {
  custom: {
    50: '#636378',
    500: '#282a44',
    950: '#000000',
  },
}
SCSS
$custom: #282a44;
$custom-light: #636378;
$custom-dark: #000000;
JSON
{
  "hex": "#282a44",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 235.714,
    "s": 25.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29588,
    "c": 0.04716,
    "h": 279.7
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#282A44
secondary
#767352
accent
#BC65C2
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #282A44

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

Preview Lab → · Contrast checker → · Palette generator →

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