#120D2E#120D2E

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

Color values

HEX#120D2E
RGBrgb(18, 13, 46)
HSLhsl(249, 56%, 12%)
HSVhsv(249, 72%, 18%)
CMYKcmyk(60.9%, 71.7%, 0%, 82%)
CIE-LABlab(5.54, 12.38, -20.86)
CIE-LCHlch(5.54, 24.26, 300.70°)
OKLaboklab(18.88% 0.017 -0.0612)
OKLCHoklch(18.88% 0.064 285.5)
XYZxyz(0.8864, 0.6137, 2.6560)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D2E #292E0D
analogous
#0D192E #120D2E #230D2E
triadic
#120D2E #2E120D #0D2E12
tetradic
#120D2E #2E0D19 #292E0D #0D2E23
square
#120D2E #2E0D19 #292E0D #0D2E23
split-complementary
#120D2E #2E230D #192E0D
monochromatic
#090718 #090718 #120D2E #251A5E #37288D

Accessibility & contrast

On white

18.70
#120D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#120D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D2E
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D2E#FFFFFF#000000##FFFFFF
##120D2E1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#08151B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120d2e;
/* rgb */ color: rgb(18, 13, 46);
/* oklch */ color: oklch(18.9% 0.064 285.5);
Tailwind
colors: {
  custom: {
    50: '#524c67',
    500: '#120d2e',
    950: '#000000',
  },
}
SCSS
$custom: #120d2e;
$custom-light: #524c67;
$custom-dark: #000000;
JSON
{
  "hex": "#120d2e",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 249.091,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18877,
    "c": 0.0635,
    "h": 285.5
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#120D2E
secondary
#60692E
accent
#DF49C8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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