#120F2C#120F2C

#120F2C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.1% C 0.056 H 284.4°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#120F2C
RGBrgb(18, 15, 44)
HSLhsl(246, 49%, 12%)
HSVhsv(246, 66%, 17%)
CMYKcmyk(59.1%, 65.9%, 0%, 82.7%)
CIE-LABlab(5.89, 10.43, -18.81)
CIE-LCHlch(5.89, 21.51, 299.00°)
OKLaboklab(19.14% 0.0141 -0.0547)
OKLCHoklch(19.14% 0.056 284.4)
XYZxyz(0.8748, 0.6521, 2.4621)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F2C #292C0F
analogous
#0F1B2C #120F2C #210F2C
triadic
#120F2C #2C120F #0F2C12
tetradic
#120F2C #2C0F1B #292C0F #0F2C21
square
#120F2C #2C0F1B #292C0F #0F2C21
split-complementary
#120F2C #2C210F #1B2C0F
monochromatic
#090817 #090817 #120F2C #251F5A #372E87

Accessibility & contrast

On white

18.58
#120F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F2C
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F2C#FFFFFF#000000##FFFFFF
##120F2C1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#09151B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120f2c;
/* rgb */ color: rgb(18, 15, 44);
/* oklch */ color: oklch(19.1% 0.056 284.4);
Tailwind
colors: {
  custom: {
    50: '#524d65',
    500: '#120f2c',
    950: '#000000',
  },
}
SCSS
$custom: #120f2c;
$custom-light: #524d65;
$custom-dark: #000000;
JSON
{
  "hex": "#120f2c",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 246.207,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19143,
    "c": 0.05649,
    "h": 284.4
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#120F2C
secondary
#606531
accent
#D94FCA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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