#282D3F#282D3F

#282D3F is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.1% C 0.033 H 272.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#282D3F
RGBrgb(40, 45, 63)
HSLhsl(227, 22%, 20%)
HSVhsv(227, 37%, 25%)
CMYKcmyk(36.5%, 28.6%, 0%, 75.3%)
CIE-LABlab(18.74, 3.00, -12.09)
CIE-LCHlch(18.74, 12.45, 283.96°)
OKLaboklab(30.06% 0.0013 -0.0334)
OKLCHoklch(30.06% 0.033 272.3)
XYZxyz(2.7104, 2.6867, 5.0774)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D3F #3F3A28
analogous
#28383F #282D3F #2F283F
triadic
#282D3F #3F282D #2D3F28
tetradic
#282D3F #3F2838 #3F3A28 #283F2F
square
#282D3F #3F2838 #3F3A28 #283F2F
split-complementary
#282D3F #3F2F28 #383F28
monochromatic
#0C0D13 #10121A #282D3F #404864 #58628A

Accessibility & contrast

On white

13.66
#282D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D3F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D3F#FFFFFF#000000##FFFFFF
##282D3F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F40
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#223033
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282d3f;
/* rgb */ color: rgb(40, 45, 63);
/* oklch */ color: oklch(30.1% 0.033 272.3);
Tailwind
colors: {
  custom: {
    50: '#626574',
    500: '#282d3f',
    950: '#000000',
  },
}
SCSS
$custom: #282d3f;
$custom-light: #626574;
$custom-dark: #000000;
JSON
{
  "hex": "#282d3f",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 63
  },
  "hsl": {
    "h": 226.957,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.03348,
    "h": 272.3
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#282D3F
secondary
#716A52
accent
#AC69BF
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050508
muted
#797A7B

Preview Lab

Preview with #282D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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