#282B41#282B41

#282B41 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.7% C 0.040 H 277.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#282B41
RGBrgb(40, 43, 65)
HSLhsl(233, 24%, 21%)
HSVhsv(233, 38%, 25%)
CMYKcmyk(38.5%, 33.8%, 0%, 74.5%)
CIE-LABlab(18.19, 5.06, -14.32)
CIE-LCHlch(18.19, 15.18, 289.45°)
OKLaboklab(29.66% 0.0054 -0.0398)
OKLCHoklch(29.66% 0.04 277.7)
XYZxyz(2.6928, 2.5604, 5.3523)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B41 #413E28
analogous
#283741 #282B41 #312841
triadic
#282B41 #41282B #2B4128
tetradic
#282B41 #412837 #413E28 #284131
square
#282B41 #412837 #413E28 #284131
split-complementary
#282B41 #413128 #374128
monochromatic
#0C0D13 #11121B #282B41 #3F4467 #575D8D

Accessibility & contrast

On white

13.89
#282B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#282B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B41
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B41#FFFFFF#000000##FFFFFF
##282B411.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D42
Deuteranopia (green-blind)
#232C40
Tritanopia (blue-blind)
#212F33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282b41;
/* rgb */ color: rgb(40, 43, 65);
/* oklch */ color: oklch(29.7% 0.040 277.7);
Tailwind
colors: {
  custom: {
    50: '#636475',
    500: '#282b41',
    950: '#000000',
  },
}
SCSS
$custom: #282b41;
$custom-light: #636475;
$custom-dark: #000000;
JSON
{
  "hex": "#282b41",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 65
  },
  "hsl": {
    "h": 232.8,
    "s": 23.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2966,
    "c": 0.04018,
    "h": 277.7
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#282B41
secondary
#736F52
accent
#B668C0
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050508
muted
#79797B

Preview Lab

Preview with #282B41

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

Preview Lab → · Contrast checker → · Palette generator →

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