#120E5B#120E5B

#120E5B is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.129 H 273.3°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#120E5B
RGBrgb(18, 14, 91)
HSLhsl(243, 73%, 21%)
HSVhsv(243, 85%, 36%)
CMYKcmyk(80.2%, 84.6%, 0%, 64.3%)
CIE-LABlab(10.54, 30.10, -44.49)
CIE-LCHlch(10.54, 53.72, 304.08°)
OKLaboklab(24.19% 0.0074 -0.1287)
OKLCHoklch(24.19% 0.129 273.3)
XYZxyz(2.2942, 1.1978, 10.0058)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E5B #575B0E
analogous
#0E305B #120E5B #380E5B
triadic
#120E5B #5B120E #0E5B12
tetradic
#120E5B #5B0E30 #575B0E #0E5B38
square
#120E5B #5B0E30 #575B0E #0E5B38
split-complementary
#120E5B #5B380E #305B0E
monochromatic
#05041B #080626 #120E5B #1C1690 #271EC5

Accessibility & contrast

On white

16.94
#120E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#120E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E5B
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E5B#FFFFFF#000000##FFFFFF
##120E5B1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205D
Deuteranopia (green-blind)
#00195A
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #120e5b;
/* rgb */ color: rgb(18, 14, 91);
/* oklch */ color: oklch(24.2% 0.129 273.3);
Tailwind
colors: {
  custom: {
    50: '#5f4e8a',
    500: '#120e5b',
    950: '#000000',
  },
}
SCSS
$custom: #120e5b;
$custom-light: #5f4e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#120e5b",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 243.117,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24193,
    "c": 0.12894,
    "h": 273.3
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#120E5B
secondary
#909530
accent
#F038E6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #120E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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