#24283A#24283A

#24283A is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.1% C 0.034 H 274.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#24283A
RGBrgb(36, 40, 58)
HSLhsl(229, 23%, 18%)
HSVhsv(229, 38%, 23%)
CMYKcmyk(37.9%, 31%, 0%, 77.3%)
CIE-LABlab(16.49, 3.50, -12.13)
CIE-LCHlch(16.49, 12.62, 286.11°)
OKLaboklab(28.14% 0.0026 -0.0336)
OKLCHoklch(28.14% 0.034 274.4)
XYZxyz(2.2499, 2.1981, 4.3079)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24283A #3A3624
analogous
#24333A #24283A #2B243A
triadic
#24283A #3A2428 #283A24
tetradic
#24283A #3A2433 #3A3624 #243A2B
square
#24283A #3A2433 #3A3624 #243A2B
split-complementary
#24283A #3A2B24 #333A24
monochromatic
#0C0D13 #0D0E14 #24283A #3B4260 #535C86

Accessibility & contrast

On white

14.59
#24283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#24283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24283A
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24283A#FFFFFF#000000##FFFFFF
##24283A1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3B
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#1E2B2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #24283a;
/* rgb */ color: rgb(36, 40, 58);
/* oklch */ color: oklch(28.1% 0.034 274.4);
Tailwind
colors: {
  custom: {
    50: '#5f6170',
    500: '#24283a',
    950: '#000000',
  },
}
SCSS
$custom: #24283a;
$custom-light: #5f6170;
$custom-dark: #000000;
JSON
{
  "hex": "#24283a",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 229.091,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.03372,
    "h": 274.4
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#24283A
secondary
#6C674E
accent
#B068C0
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040507
muted
#79797A

Preview Lab

Preview with #24283A

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

Preview Lab → · Contrast checker → · Palette generator →

#24283A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva