#24283F#24283F

#24283F is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.043 H 275.8°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#24283F
RGBrgb(36, 40, 63)
HSLhsl(231, 27%, 19%)
HSVhsv(231, 43%, 25%)
CMYKcmyk(42.9%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.75, 5.16, -15.20)
CIE-LCHlch(16.75, 16.05, 288.76°)
OKLaboklab(28.43% 0.0043 -0.0424)
OKLCHoklch(28.43% 0.043 275.8)
XYZxyz(2.3833, 2.2514, 5.0107)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24283F #3F3B24
analogous
#24363F #24283F #2E243F
triadic
#24283F #3F2428 #283F24
tetradic
#24283F #3F2436 #3F3B24 #243F2E
square
#24283F #3F2436 #3F3B24 #243F2E
split-complementary
#24283F #3F2E24 #363F24
monochromatic
#0B0C13 #0E0F18 #24283F #3A4166 #51598D

Accessibility & contrast

On white

14.48
#24283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#24283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24283F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24283F#FFFFFF#000000##FFFFFF
##24283F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A40
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#1C2C30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #24283f;
/* rgb */ color: rgb(36, 40, 63);
/* oklch */ color: oklch(28.4% 0.043 275.8);
Tailwind
colors: {
  custom: {
    50: '#606174',
    500: '#24283f',
    950: '#000000',
  },
}
SCSS
$custom: #24283f;
$custom-light: #606174;
$custom-dark: #000000;
JSON
{
  "hex": "#24283f",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 231.111,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28426,
    "c": 0.04266,
    "h": 275.8
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#24283F
secondary
#726C4D
accent
#B564C4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050508
muted
#79797B

Preview Lab

Preview with #24283F

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

Preview Lab → · Contrast checker → · Palette generator →

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