#120E2C#120E2C

#120E2C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.9% C 0.058 H 285.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#120E2C
RGBrgb(18, 14, 44)
HSLhsl(248, 52%, 11%)
HSVhsv(248, 68%, 17%)
CMYKcmyk(59.1%, 68.2%, 0%, 82.7%)
CIE-LABlab(5.64, 10.95, -19.21)
CIE-LCHlch(5.64, 22.11, 299.68°)
OKLaboklab(18.91% 0.0155 -0.0562)
OKLCHoklch(18.91% 0.058 285.5)
XYZxyz(0.8610, 0.6245, 2.4576)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E2C #282C0E
analogous
#0E192C #120E2C #210E2C
triadic
#120E2C #2C120E #0E2C12
tetradic
#120E2C #2C0E19 #282C0E #0E2C21
square
#120E2C #2C0E19 #282C0E #0E2C21
split-complementary
#120E2C #2C210E #192C0E
monochromatic
#090717 #090717 #120E2C #251D5A #382C89

Accessibility & contrast

On white

18.67
#120E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#120E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E2C
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E2C#FFFFFF#000000##FFFFFF
##120E2C1.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#01122B
Tritanopia (blue-blind)
#09151B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120e2c;
/* rgb */ color: rgb(18, 14, 44);
/* oklch */ color: oklch(18.9% 0.058 285.5);
Tailwind
colors: {
  custom: {
    50: '#524d65',
    500: '#120e2c',
    950: '#000000',
  },
}
SCSS
$custom: #120e2c;
$custom-light: #524d65;
$custom-dark: #000000;
JSON
{
  "hex": "#120e2c",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 248,
    "s": 51.724,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18913,
    "c": 0.0583,
    "h": 285.5
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#120E2C
secondary
#5F6630
accent
#DB4DC8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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