#120E47#120E47

#120E47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.101 H 277.0°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#120E47
RGBrgb(18, 14, 71)
HSLhsl(244, 67%, 17%)
HSVhsv(244, 80%, 28%)
CMYKcmyk(74.6%, 80.3%, 0%, 72.2%)
CIE-LABlab(8.11, 22.71, -34.76)
CIE-LCHlch(8.11, 41.52, 303.15°)
OKLaboklab(21.75% 0.0123 -0.1004)
OKLCHoklch(21.75% 0.101 277)
XYZxyz(1.5435, 0.8975, 6.0519)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E47 #43470E
analogous
#0E2747 #120E47 #2F0E47
triadic
#120E47 #47120E #0E4712
tetradic
#120E47 #470E27 #43470E #0E472F
square
#120E47 #470E27 #43470E #0E472F
split-complementary
#120E47 #472F0E #27470E
monochromatic
#06051A #06051A #120E47 #1F187A #2C22AD

Accessibility & contrast

On white

17.80
#120E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#120E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E47
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E47#FFFFFF#000000##FFFFFF
##120E471.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #120e47;
/* rgb */ color: rgb(18, 14, 71);
/* oklch */ color: oklch(21.8% 0.101 277.0);
Tailwind
colors: {
  custom: {
    50: '#594d7b',
    500: '#120e47',
    950: '#000000',
  },
}
SCSS
$custom: #120e47;
$custom-light: #594d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#120e47",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 244.211,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21754,
    "c": 0.10116,
    "h": 277
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#120E47
secondary
#7C822F
accent
#EA3EDE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120E47

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

Preview Lab → · Contrast checker → · Palette generator →

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