#120F2B#120F2B

#120F2B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 19.1% C 0.055 H 284.8°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#120F2B
RGBrgb(18, 15, 43)
HSLhsl(246, 48%, 11%)
HSVhsv(246, 65%, 17%)
CMYKcmyk(58.1%, 65.1%, 0%, 83.1%)
CIE-LABlab(5.82, 9.97, -18.17)
CIE-LCHlch(5.82, 20.73, 298.76°)
OKLaboklab(19.06% 0.014 -0.0529)
OKLCHoklch(19.06% 0.055 284.8)
XYZxyz(0.8562, 0.6446, 2.3643)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F2B #282B0F
analogous
#0F1A2B #120F2B #200F2B
triadic
#120F2B #2B120F #0F2B12
tetradic
#120F2B #2B0F1A #282B0F #0F2B20
square
#120F2B #2B0F1A #282B0F #0F2B20
split-complementary
#120F2B #2B200F #1A2B0F
monochromatic
#090817 #090817 #120F2B #251F58 #382F86

Accessibility & contrast

On white

18.60
#120F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F2B
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F2B#FFFFFF#000000##FFFFFF
##120F2B1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142C
Deuteranopia (green-blind)
#03122A
Tritanopia (blue-blind)
#0A151B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120f2b;
/* rgb */ color: rgb(18, 15, 43);
/* oklch */ color: oklch(19.1% 0.055 284.8);
Tailwind
colors: {
  custom: {
    50: '#514d64',
    500: '#120f2b',
    950: '#000000',
  },
}
SCSS
$custom: #120f2b;
$custom-light: #514d64;
$custom-dark: #000000;
JSON
{
  "hex": "#120f2b",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 246.429,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19055,
    "c": 0.05473,
    "h": 284.8
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#120F2B
secondary
#5F6432
accent
#D850C9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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