#283040#283040

#283040 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.031 H 264.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#283040
RGBrgb(40, 48, 64)
HSLhsl(220, 23%, 20%)
HSVhsv(220, 38%, 25%)
CMYKcmyk(37.5%, 25%, 0%, 74.9%)
CIE-LABlab(19.78, 1.23, -11.17)
CIE-LCHlch(19.78, 11.24, 276.30°)
OKLaboklab(30.88% -0.0033 -0.0309)
OKLCHoklch(30.88% 0.031 264)
XYZxyz(2.8572, 2.9351, 5.2655)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283040 #403828
analogous
#283C40 #283040 #2C2840
triadic
#283040 #402830 #304028
tetradic
#283040 #40283C #403828 #28402C
square
#283040 #40283C #403828 #28402C
split-complementary
#283040 #402C28 #3C4028
monochromatic
#0C0E13 #10141A #283040 #404C66 #57688B

Accessibility & contrast

On white

13.23
#283040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#283040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283040
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283040#FFFFFF#000000##FFFFFF
##2830401.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3141
Deuteranopia (green-blind)
#282F40
Tritanopia (blue-blind)
#213335
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283040;
/* rgb */ color: rgb(40, 48, 64);
/* oklch */ color: oklch(30.9% 0.031 264.0);
Tailwind
colors: {
  custom: {
    50: '#626874',
    500: '#283040',
    950: '#000000',
  },
}
SCSS
$custom: #283040;
$custom-light: #626874;
$custom-dark: #000000;
JSON
{
  "hex": "#283040",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 220,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30883,
    "c": 0.03103,
    "h": 264
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#283040
secondary
#726752
accent
#A268C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #283040

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

Preview Lab → · Contrast checker → · Palette generator →

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