#120E55#120E55

#120E55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.4% C 0.121 H 274.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#120E55
RGBrgb(18, 14, 85)
HSLhsl(243, 72%, 19%)
HSVhsv(243, 84%, 33%)
CMYKcmyk(78.8%, 83.5%, 0%, 66.7%)
CIE-LABlab(9.78, 27.94, -41.67)
CIE-LCHlch(9.78, 50.17, 303.84°)
OKLaboklab(23.44% 0.009 -0.1205)
OKLCHoklch(23.44% 0.121 274.3)
XYZxyz(2.0456, 1.0983, 8.6968)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E55 #51550E
analogous
#0E2E55 #120E55 #360E55
triadic
#120E55 #55120E #0E5512
tetradic
#120E55 #550E2E #51550E #0E5536
square
#120E55 #550E2E #51550E #0E5536
split-complementary
#120E55 #55360E #2E550E
monochromatic
#06041A #070520 #120E55 #1D178A #281FBE

Accessibility & contrast

On white

17.22
#120E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#120E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E55
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E55#FFFFFF#000000##FFFFFF
##120E551.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001854
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #120e55;
/* rgb */ color: rgb(18, 14, 85);
/* oklch */ color: oklch(23.4% 0.121 274.3);
Tailwind
colors: {
  custom: {
    50: '#5d4e86',
    500: '#120e55',
    950: '#000000',
  },
}
SCSS
$custom: #120e55;
$custom-light: #5d4e86;
$custom-dark: #000000;
JSON
{
  "hex": "#120e55",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 243.38,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23442,
    "c": 0.12088,
    "h": 274.3
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#120E55
secondary
#8A8F30
accent
#EE39E4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #120E55

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

Preview Lab → · Contrast checker → · Palette generator →

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