#120B47#120B47

#120B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.105 H 277.9°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#120B47
RGBrgb(18, 11, 71)
HSLhsl(247, 73%, 16%)
HSVhsv(247, 85%, 28%)
CMYKcmyk(74.6%, 84.5%, 0%, 72.2%)
CIE-LABlab(7.43, 24.59, -35.88)
CIE-LCHlch(7.43, 43.49, 304.43°)
OKLaboklab(21.27% 0.0144 -0.1037)
OKLCHoklch(21.27% 0.105 277.9)
XYZxyz(1.5061, 0.8227, 6.0395)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B47 #40470B
analogous
#0B2247 #120B47 #300B47
triadic
#120B47 #47120B #0B4712
tetradic
#120B47 #470B22 #40470B #0B4730
square
#120B47 #470B22 #40470B #0B4730
split-complementary
#120B47 #47300B #22470B
monochromatic
#07041A #07041A #120B47 #1F137C #2D1BB1

Accessibility & contrast

On white

18.03
#120B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B47
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B47#FFFFFF#000000##FFFFFF
##120B471.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120b47;
/* rgb */ color: rgb(18, 11, 71);
/* oklch */ color: oklch(21.3% 0.105 277.9);
Tailwind
colors: {
  custom: {
    50: '#594b7b',
    500: '#120b47',
    950: '#000000',
  },
}
SCSS
$custom: #120b47;
$custom-light: #594b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#120b47",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 247,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21267,
    "c": 0.1047,
    "h": 277.9
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #120B47

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

Preview Lab → · Contrast checker → · Palette generator →

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