#120D2D#120D2D

#120D2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.062 H 286.0°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#120D2D
RGBrgb(18, 13, 45)
HSLhsl(249, 55%, 11%)
HSVhsv(249, 71%, 18%)
CMYKcmyk(60%, 71.1%, 0%, 82.4%)
CIE-LABlab(5.47, 11.91, -20.22)
CIE-LCHlch(5.47, 23.47, 300.50°)
OKLaboklab(18.78% 0.017 -0.0594)
OKLCHoklch(18.78% 0.062 286)
XYZxyz(0.8669, 0.6059, 2.5534)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D2D #282D0D
analogous
#0D182D #120D2D #220D2D
triadic
#120D2D #2D120D #0D2D12
tetradic
#120D2D #2D0D18 #282D0D #0D2D22
square
#120D2D #2D0D18 #282D0D #0D2D22
split-complementary
#120D2D #2D220D #182D0D
monochromatic
#090718 #090718 #120D2D #251B5C #38288C

Accessibility & contrast

On white

18.73
#120D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120D2D
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D2D#FFFFFF#000000##FFFFFF
##120D2D1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#09141B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120d2d;
/* rgb */ color: rgb(18, 13, 45);
/* oklch */ color: oklch(18.8% 0.062 286.0);
Tailwind
colors: {
  custom: {
    50: '#524c66',
    500: '#120d2d',
    950: '#000000',
  },
}
SCSS
$custom: #120d2d;
$custom-light: #524c66;
$custom-dark: #000000;
JSON
{
  "hex": "#120d2d",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 249.375,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18782,
    "c": 0.0618,
    "h": 286
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#120D2D
secondary
#5F682E
accent
#DF49C7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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