#120E56#120E56

#120E56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.122 H 274.1°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#120E56
RGBrgb(18, 14, 86)
HSLhsl(243, 72%, 20%)
HSVhsv(243, 84%, 34%)
CMYKcmyk(79.1%, 83.7%, 0%, 66.3%)
CIE-LABlab(9.91, 28.30, -42.15)
CIE-LCHlch(9.91, 50.77, 303.88°)
OKLaboklab(23.57% 0.0087 -0.1219)
OKLCHoklch(23.57% 0.122 274.1)
XYZxyz(2.0856, 1.1144, 8.9075)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E56 #52560E
analogous
#0E2E56 #120E56 #360E56
triadic
#120E56 #56120E #0E5612
tetradic
#120E56 #560E2E #52560E #0E5636
square
#120E56 #560E2E #52560E #0E5636
split-complementary
#120E56 #56360E #2E560E
monochromatic
#06041A #070521 #120E56 #1D178B #281FBF

Accessibility & contrast

On white

17.17
#120E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E56
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E56#FFFFFF#000000##FFFFFF
##120E561.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #120e56;
/* rgb */ color: rgb(18, 14, 86);
/* oklch */ color: oklch(23.6% 0.122 274.1);
Tailwind
colors: {
  custom: {
    50: '#5d4e87',
    500: '#120e56',
    950: '#000000',
  },
}
SCSS
$custom: #120e56;
$custom-light: #5d4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#120e56",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 243.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23566,
    "c": 0.12224,
    "h": 274.1
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#120E56
secondary
#8B9030
accent
#EF39E5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #120E56

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

Preview Lab → · Contrast checker → · Palette generator →

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