#282844#282844

#282844 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.1% C 0.051 H 282.8°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#282844
RGBrgb(40, 40, 68)
HSLhsl(240, 26%, 21%)
HSVhsv(240, 41%, 27%)
CMYKcmyk(41.2%, 41.2%, 0%, 73.3%)
CIE-LABlab(17.39, 8.18, -17.62)
CIE-LCHlch(17.39, 19.43, 294.91°)
OKLaboklab(29.1% 0.0112 -0.0494)
OKLCHoklch(29.1% 0.051 282.8)
XYZxyz(2.6770, 2.3860, 5.7872)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282844 #444428
analogous
#283644 #282844 #362844
triadic
#282844 #442828 #284428
tetradic
#282844 #442836 #444428 #284436
square
#282844 #442836 #444428 #284436
split-complementary
#282844 #443628 #364428
monochromatic
#0B0B13 #11111D #282844 #3F3F6B #555591

Accessibility & contrast

On white

14.22
#282844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282844
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282844#FFFFFF#000000##FFFFFF
##2828441.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#1E2A43
Tritanopia (blue-blind)
#202D32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282844;
/* rgb */ color: rgb(40, 40, 68);
/* oklch */ color: oklch(29.1% 0.051 282.8);
Tailwind
colors: {
  custom: {
    50: '#636178',
    500: '#282844',
    950: '#000000',
  },
}
SCSS
$custom: #282844;
$custom-light: #636178;
$custom-dark: #000000;
JSON
{
  "hex": "#282844",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 240,
    "s": 25.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29101,
    "c": 0.05062,
    "h": 282.8
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#282844
secondary
#767652
accent
#C265C2
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050509
muted
#79797B

Preview Lab

Preview with #282844

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

Preview Lab → · Contrast checker → · Palette generator →

#282844 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva