#120D3A#120D3A

#120D3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.083 H 280.9°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#120D3A
RGBrgb(18, 13, 58)
HSLhsl(247, 63%, 14%)
HSVhsv(247, 78%, 23%)
CMYKcmyk(69%, 77.6%, 0%, 77.3%)
CIE-LABlab(6.52, 17.94, -28.10)
CIE-LCHlch(6.52, 33.34, 302.56°)
OKLaboklab(20.11% 0.0157 -0.0814)
OKLCHoklch(20.11% 0.083 280.9)
XYZxyz(1.1569, 0.7219, 4.0805)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D3A #353A0D
analogous
#0D1F3A #120D3A #290D3A
triadic
#120D3A #3A120D #0D3A12
tetradic
#120D3A #3A0D1F #353A0D #0D3A29
square
#120D3A #3A0D1F #353A0D #0D3A29
split-complementary
#120D3A #3A290D #1F3A0D
monochromatic
#080619 #080619 #120D3A #22186C #31239E

Accessibility & contrast

On white

18.35
#120D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D3A
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D3A#FFFFFF#000000##FFFFFF
##120D3A1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120d3a;
/* rgb */ color: rgb(18, 13, 58);
/* oklch */ color: oklch(20.1% 0.083 280.9);
Tailwind
colors: {
  custom: {
    50: '#554c71',
    500: '#120d3a',
    950: '#000000',
  },
}
SCSS
$custom: #120d3a;
$custom-light: #554c71;
$custom-dark: #000000;
JSON
{
  "hex": "#120d3a",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 246.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20106,
    "c": 0.08293,
    "h": 280.9
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#120D3A
secondary
#6D762D
accent
#E641D4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #120D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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