#120E2F#120E2F

#120E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.063 H 284.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#120E2F
RGBrgb(18, 14, 47)
HSLhsl(247, 54%, 12%)
HSVhsv(247, 70%, 18%)
CMYKcmyk(61.7%, 70.2%, 0%, 81.6%)
CIE-LABlab(5.85, 12.34, -21.11)
CIE-LCHlch(5.85, 24.46, 300.31°)
OKLaboklab(19.19% 0.0156 -0.0615)
OKLCHoklch(19.19% 0.063 284.2)
XYZxyz(0.9194, 0.6479, 2.7654)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E2F #2B2F0E
analogous
#0E1B2F #120E2F #230E2F
triadic
#120E2F #2F120E #0E2F12
tetradic
#120E2F #2F0E1B #2B2F0E #0E2F23
square
#120E2F #2F0E1B #2B2F0E #0E2F23
split-complementary
#120E2F #2F230E #1B2F0E
monochromatic
#090718 #090718 #120E2F #241C5E #362A8D

Accessibility & contrast

On white

18.59
#120E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E2F
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E2F#FFFFFF#000000##FFFFFF
##120E2F1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#07161C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120e2f;
/* rgb */ color: rgb(18, 14, 47);
/* oklch */ color: oklch(19.2% 0.063 284.2);
Tailwind
colors: {
  custom: {
    50: '#524d68',
    500: '#120e2f',
    950: '#000000',
  },
}
SCSS
$custom: #120e2f;
$custom-light: #524d68;
$custom-dark: #000000;
JSON
{
  "hex": "#120e2f",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 247.273,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19191,
    "c": 0.06347,
    "h": 284.2
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#120E2F
secondary
#62692F
accent
#DD4ACC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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