#120E5F#120E5F

#120E5F is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.134 H 272.7°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#120E5F
RGBrgb(18, 14, 95)
HSLhsl(243, 74%, 21%)
HSVhsv(243, 85%, 37%)
CMYKcmyk(81.1%, 85.3%, 0%, 62.7%)
CIE-LABlab(11.05, 31.52, -46.33)
CIE-LCHlch(11.05, 56.03, 304.23°)
OKLaboklab(24.7% 0.0064 -0.1341)
OKLCHoklch(24.7% 0.134 272.7)
XYZxyz(2.4714, 1.2686, 10.9389)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E5F #5B5F0E
analogous
#0E335F #120E5F #3B0E5F
triadic
#120E5F #5F120E #0E5F12
tetradic
#120E5F #5F0E33 #5B5F0E #0E5F3B
square
#120E5F #5F0E33 #5B5F0E #0E5F3B
split-complementary
#120E5F #5F3B0E #335F0E
monochromatic
#05041B #08062A #120E5F #1C1694 #261ECA

Accessibility & contrast

On white

16.75
#120E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E5F
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E5F#FFFFFF#000000##FFFFFF
##120E5F1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002161
Deuteranopia (green-blind)
#001A5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #120e5f;
/* rgb */ color: rgb(18, 14, 95);
/* oklch */ color: oklch(24.7% 0.134 272.7);
Tailwind
colors: {
  custom: {
    50: '#604f8d',
    500: '#120e5f',
    950: '#000000',
  },
}
SCSS
$custom: #120e5f;
$custom-light: #604f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#120e5f",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 242.963,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24701,
    "c": 0.13421,
    "h": 272.7
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#120E5F
secondary
#939930
accent
#F137E8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #120E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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