#120E5D#120E5D

#120E5D is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.4% C 0.132 H 273.0°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#120E5D
RGBrgb(18, 14, 93)
HSLhsl(243, 74%, 21%)
HSVhsv(243, 85%, 36%)
CMYKcmyk(80.6%, 84.9%, 0%, 63.5%)
CIE-LABlab(10.80, 30.81, -45.42)
CIE-LCHlch(10.80, 54.88, 304.15°)
OKLaboklab(24.45% 0.0069 -0.1314)
OKLCHoklch(24.45% 0.132 273)
XYZxyz(2.3816, 1.2327, 10.4662)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E5D #595D0E
analogous
#0E315D #120E5D #390E5D
triadic
#120E5D #5D120E #0E5D12
tetradic
#120E5D #5D0E31 #595D0E #0E5D39
square
#120E5D #5D0E31 #595D0E #0E5D39
split-complementary
#120E5D #5D390E #315D0E
monochromatic
#05041B #080628 #120E5D #1C1692 #271EC7

Accessibility & contrast

On white

16.85
#120E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#120E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E5D
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E5D#FFFFFF#000000##FFFFFF
##120E5D1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#00195C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #120e5d;
/* rgb */ color: rgb(18, 14, 93);
/* oklch */ color: oklch(24.4% 0.132 273.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e8c',
    500: '#120e5d',
    950: '#000000',
  },
}
SCSS
$custom: #120e5d;
$custom-light: #5f4e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#120e5d",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 243.038,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24446,
    "c": 0.13159,
    "h": 273
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#120E5D
secondary
#929730
accent
#F037E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #120E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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