#120E28#120E28

#120E28 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.6% C 0.051 H 287.4°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#120E28
RGBrgb(18, 14, 40)
HSLhsl(249, 48%, 11%)
HSVhsv(249, 65%, 16%)
CMYKcmyk(55%, 65%, 0%, 84.3%)
CIE-LABlab(5.38, 9.14, -16.60)
CIE-LCHlch(5.38, 18.95, 298.83°)
OKLaboklab(18.56% 0.0153 -0.0489)
OKLCHoklch(18.56% 0.051 287.4)
XYZxyz(0.7894, 0.5958, 2.0805)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E28 #24280E
analogous
#0E1728 #120E28 #1F0E28
triadic
#120E28 #28120E #0E2812
tetradic
#120E28 #280E17 #24280E #0E281F
square
#120E28 #280E17 #24280E #0E281F
split-complementary
#120E28 #281F0E #17280E
monochromatic
#0A0817 #0A0817 #120E28 #261E55 #3B2E83

Accessibility & contrast

On white

18.76
#120E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#120E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E28
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E28#FFFFFF#000000##FFFFFF
##120E281.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041229
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#0B1319
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120e28;
/* rgb */ color: rgb(18, 14, 40);
/* oklch */ color: oklch(18.6% 0.051 287.4);
Tailwind
colors: {
  custom: {
    50: '#514d62',
    500: '#120e28',
    950: '#000000',
  },
}
SCSS
$custom: #120e28;
$custom-light: #514d62;
$custom-dark: #000000;
JSON
{
  "hex": "#120e28",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 249.231,
    "s": 48.148,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18559,
    "c": 0.05124,
    "h": 287.4
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#120E28
secondary
#5A6130
accent
#D850C3
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #120E28

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

Preview Lab → · Contrast checker → · Palette generator →

#120E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva