#121024#121024

#121024 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.040 H 286.4°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#121024
RGBrgb(18, 16, 36)
HSLhsl(246, 38%, 10%)
HSVhsv(246, 56%, 14%)
CMYKcmyk(50%, 55.6%, 0%, 85.9%)
CIE-LABlab(5.66, 6.46, -13.13)
CIE-LCHlch(5.66, 14.63, 296.19°)
OKLaboklab(18.73% 0.0113 -0.0383)
OKLCHoklch(18.73% 0.04 286.4)
XYZxyz(0.7531, 0.6265, 1.7500)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121024 #222410
analogous
#101824 #121024 #1C1024
triadic
#121024 #241210 #102412
tetradic
#121024 #241018 #222410 #10241C
square
#121024 #241018 #222410 #10241C
split-complementary
#121024 #241C10 #182410
monochromatic
#0B0915 #0B0915 #121024 #27234E #3C3679

Accessibility & contrast

On white

18.66
#121024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#121024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121024
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121024#FFFFFF#000000##FFFFFF
##1210241.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091325
Deuteranopia (green-blind)
#091224
Tritanopia (blue-blind)
#0D1418
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #121024;
/* rgb */ color: rgb(18, 16, 36);
/* oklch */ color: oklch(18.7% 0.040 286.4);
Tailwind
colors: {
  custom: {
    50: '#504e5e',
    500: '#121024',
    950: '#000000',
  },
}
SCSS
$custom: #121024;
$custom-light: #504e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#121024",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 246,
    "s": 38.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.1873,
    "c": 0.03995,
    "h": 286.4
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#121024
secondary
#575B35
accent
#CE59C3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #121024

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

Preview Lab → · Contrast checker → · Palette generator →

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