#120B46#120B46

#120B46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.103 H 278.2°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#120B46
RGBrgb(18, 11, 70)
HSLhsl(247, 73%, 16%)
HSVhsv(247, 84%, 27%)
CMYKcmyk(74.3%, 84.3%, 0%, 72.5%)
CIE-LABlab(7.32, 24.19, -35.36)
CIE-LCHlch(7.32, 42.84, 304.38°)
OKLaboklab(21.15% 0.0147 -0.1022)
OKLCHoklch(21.15% 0.103 278.2)
XYZxyz(1.4743, 0.8100, 5.8718)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B46 #3F460B
analogous
#0B2146 #120B46 #2F0B46
triadic
#120B46 #46120B #0B4612
tetradic
#120B46 #460B21 #3F460B #0B462F
square
#120B46 #460B21 #3F460B #0B462F
split-complementary
#120B46 #462F0B #21460B
monochromatic
#07041A #07041A #120B46 #20137B #2D1CB0

Accessibility & contrast

On white

18.07
#120B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#120B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B46
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B46#FFFFFF#000000##FFFFFF
##120B461.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120b46;
/* rgb */ color: rgb(18, 11, 70);
/* oklch */ color: oklch(21.1% 0.103 278.2);
Tailwind
colors: {
  custom: {
    50: '#594b7a',
    500: '#120b46',
    950: '#000000',
  },
}
SCSS
$custom: #120b46;
$custom-light: #594b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#120b46",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 247.119,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21145,
    "c": 0.10328,
    "h": 278.2
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#120B46
secondary
#78822A
accent
#F038DA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120B46

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

Preview Lab → · Contrast checker → · Palette generator →

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