#282C49#282C49

#282C49 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.4% C 0.053 H 276.8°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#282C49
RGBrgb(40, 44, 73)
HSLhsl(233, 29%, 22%)
HSVhsv(233, 45%, 29%)
CMYKcmyk(45.2%, 39.7%, 0%, 71.4%)
CIE-LABlab(18.94, 7.01, -18.61)
CIE-LCHlch(18.94, 19.88, 290.65°)
OKLaboklab(30.38% 0.0062 -0.0522)
OKLCHoklch(30.38% 0.053 276.8)
XYZxyz(2.9780, 2.7334, 6.6727)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C49 #494528
analogous
#283D49 #282C49 #352849
triadic
#282C49 #49282C #2C4928
tetradic
#282C49 #49283D #494528 #284935
square
#282C49 #49283D #494528 #284935
split-complementary
#282C49 #493528 #3D4928
monochromatic
#0B0C14 #121421 #282C49 #3E4471 #535C98

Accessibility & contrast

On white

13.58
#282C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C49
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C49#FFFFFF#000000##FFFFFF
##282C491.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F4A
Deuteranopia (green-blind)
#202D48
Tritanopia (blue-blind)
#1E3237
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282c49;
/* rgb */ color: rgb(40, 44, 73);
/* oklch */ color: oklch(30.4% 0.053 276.8);
Tailwind
colors: {
  custom: {
    50: '#64647c',
    500: '#282c49',
    950: '#000000',
  },
}
SCSS
$custom: #282c49;
$custom-light: #64647c;
$custom-dark: #000000;
JSON
{
  "hex": "#282c49",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 73
  },
  "hsl": {
    "h": 232.727,
    "s": 29.204,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.05258,
    "h": 276.8
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#282C49
secondary
#7B7651
accent
#B962C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#050509
muted
#7A7A7B

Preview Lab

Preview with #282C49

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

Preview Lab → · Contrast checker → · Palette generator →

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