#120D2C#120D2C

#120D2C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.060 H 286.4°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#120D2C
RGBrgb(18, 13, 44)
HSLhsl(250, 54%, 11%)
HSVhsv(250, 70%, 17%)
CMYKcmyk(59.1%, 70.5%, 0%, 82.7%)
CIE-LABlab(5.40, 11.44, -19.58)
CIE-LCHlch(5.40, 22.68, 300.29°)
OKLaboklab(18.69% 0.017 -0.0576)
OKLCHoklch(18.69% 0.06 286.4)
XYZxyz(0.8479, 0.5983, 2.4532)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D2C #272C0D
analogous
#0D172C #120D2C #210D2C
triadic
#120D2C #2C120D #0D2C12
tetradic
#120D2C #2C0D17 #272C0D #0D2C21
square
#120D2C #2C0D17 #272C0D #0D2C21
split-complementary
#120D2C #2C210D #172C0D
monochromatic
#0A0718 #0A0718 #120D2C #251B5B #39298A

Accessibility & contrast

On white

18.76
#120D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120D2C
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D2C#FFFFFF#000000##FFFFFF
##120D2C1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120d2c;
/* rgb */ color: rgb(18, 13, 44);
/* oklch */ color: oklch(18.7% 0.060 286.4);
Tailwind
colors: {
  custom: {
    50: '#514c65',
    500: '#120d2c',
    950: '#000000',
  },
}
SCSS
$custom: #120d2c;
$custom-light: #514c65;
$custom-dark: #000000;
JSON
{
  "hex": "#120d2c",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 249.677,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18688,
    "c": 0.0601,
    "h": 286.4
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#120D2C
secondary
#5E672E
accent
#DE4AC6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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