#282F40#282F40

#282F40 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.6% C 0.032 H 267.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#282F40
RGBrgb(40, 47, 64)
HSLhsl(223, 23%, 20%)
HSVhsv(223, 38%, 25%)
CMYKcmyk(37.5%, 26.6%, 0%, 74.9%)
CIE-LABlab(19.45, 1.93, -11.68)
CIE-LCHlch(19.45, 11.84, 279.36°)
OKLaboklab(30.62% -0.0016 -0.0323)
OKLCHoklch(30.62% 0.032 267.1)
XYZxyz(2.8167, 2.8542, 5.2520)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F40 #403928
analogous
#283B40 #282F40 #2D2840
triadic
#282F40 #40282F #2F4028
tetradic
#282F40 #40283B #403928 #28402D
square
#282F40 #40283B #403928 #28402D
split-complementary
#282F40 #402D28 #3B4028
monochromatic
#0C0E13 #10131A #282F40 #404B66 #57668B

Accessibility & contrast

On white

13.37
#282F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F40
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F40#FFFFFF#000000##FFFFFF
##282F401.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#213235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282f40;
/* rgb */ color: rgb(40, 47, 64);
/* oklch */ color: oklch(30.6% 0.032 267.1);
Tailwind
colors: {
  custom: {
    50: '#626774',
    500: '#282f40',
    950: '#000000',
  },
}
SCSS
$custom: #282f40;
$custom-light: #626774;
$custom-dark: #000000;
JSON
{
  "hex": "#282f40",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 222.5,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30624,
    "c": 0.03234,
    "h": 267.1
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#282F40
secondary
#726852
accent
#A668C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #282F40

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

Preview Lab → · Contrast checker → · Palette generator →

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