#120F2F#120F2F

#120F2F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.062 H 283.3°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#120F2F
RGBrgb(18, 15, 47)
HSLhsl(246, 52%, 12%)
HSVhsv(246, 68%, 18%)
CMYKcmyk(61.7%, 68.1%, 0%, 81.6%)
CIE-LABlab(6.10, 11.80, -20.72)
CIE-LCHlch(6.10, 23.84, 299.67°)
OKLaboklab(19.42% 0.0142 -0.0601)
OKLCHoklch(19.42% 0.062 283.3)
XYZxyz(0.9332, 0.6754, 2.7700)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F2F #2C2F0F
analogous
#0F1C2F #120F2F #220F2F
triadic
#120F2F #2F120F #0F2F12
tetradic
#120F2F #2F0F1C #2C2F0F #0F2F22
square
#120F2F #2F0F1C #2C2F0F #0F2F22
split-complementary
#120F2F #2F220F #1C2F0F
monochromatic
#090717 #090717 #120F2F #241E5D #362D8C

Accessibility & contrast

On white

18.50
#120F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F2F
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F2F#FFFFFF#000000##FFFFFF
##120F2F1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001530
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#07161D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120f2f;
/* rgb */ color: rgb(18, 15, 47);
/* oklch */ color: oklch(19.4% 0.062 283.3);
Tailwind
colors: {
  custom: {
    50: '#524d68',
    500: '#120f2f',
    950: '#000000',
  },
}
SCSS
$custom: #120f2f;
$custom-light: #524d68;
$custom-dark: #000000;
JSON
{
  "hex": "#120f2f",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 245.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19415,
    "c": 0.06173,
    "h": 283.3
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#120F2F
secondary
#636931
accent
#DB4DCE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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