#120C3D#120C3D

#120C3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.089 H 280.5°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#120C3D
RGBrgb(18, 12, 61)
HSLhsl(247, 67%, 14%)
HSVhsv(247, 80%, 24%)
CMYKcmyk(70.5%, 80.3%, 0%, 76.1%)
CIE-LABlab(6.58, 19.84, -30.17)
CIE-LCHlch(6.58, 36.11, 303.33°)
OKLaboklab(20.25% 0.0161 -0.0874)
OKLCHoklch(20.25% 0.089 280.5)
XYZxyz(1.2230, 0.7284, 4.4901)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120C3D #373D0C
analogous
#0C1F3D #120C3D #2B0C3D
triadic
#120C3D #3D120C #0C3D12
tetradic
#120C3D #3D0C1F #373D0C #0C3D2B
square
#120C3D #3D0C1F #373D0C #0C3D2B
split-complementary
#120C3D #3D2B0C #1F3D0C
monochromatic
#08051A #08051A #120C3D #211670 #3020A3

Accessibility & contrast

On white

18.33
#120C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120C3D
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120C3D#FFFFFF#000000##FFFFFF
##120C3D1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120c3d;
/* rgb */ color: rgb(18, 12, 61);
/* oklch */ color: oklch(20.3% 0.089 280.5);
Tailwind
colors: {
  custom: {
    50: '#564b73',
    500: '#120c3d',
    950: '#000000',
  },
}
SCSS
$custom: #120c3d;
$custom-light: #564b73;
$custom-dark: #000000;
JSON
{
  "hex": "#120c3d",
  "rgb": {
    "r": 18,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 247.347,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20254,
    "c": 0.08892,
    "h": 280.5
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#120C3D
secondary
#70792C
accent
#EA3ED5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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