#120E5E#120E5E

#120E5E is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.133 H 272.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#120E5E
RGBrgb(18, 14, 94)
HSLhsl(243, 74%, 21%)
HSVhsv(243, 85%, 37%)
CMYKcmyk(80.9%, 85.1%, 0%, 63.1%)
CIE-LABlab(10.93, 31.16, -45.87)
CIE-LCHlch(10.93, 55.46, 304.19°)
OKLaboklab(24.57% 0.0066 -0.1327)
OKLCHoklch(24.57% 0.133 272.9)
XYZxyz(2.4262, 1.2506, 10.7010)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E5E #5A5E0E
analogous
#0E325E #120E5E #3A0E5E
triadic
#120E5E #5E120E #0E5E12
tetradic
#120E5E #5E0E32 #5A5E0E #0E5E3A
square
#120E5E #5E0E32 #5A5E0E #0E5E3A
split-complementary
#120E5E #5E3A0E #325E0E
monochromatic
#05041B #080629 #120E5E #1C1693 #261EC9

Accessibility & contrast

On white

16.80
#120E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E5E
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E5E#FFFFFF#000000##FFFFFF
##120E5E1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002160
Deuteranopia (green-blind)
#00195D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #120e5e;
/* rgb */ color: rgb(18, 14, 94);
/* oklch */ color: oklch(24.6% 0.133 272.9);
Tailwind
colors: {
  custom: {
    50: '#604e8d',
    500: '#120e5e',
    950: '#000000',
  },
}
SCSS
$custom: #120e5e;
$custom-light: #604e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#120e5e",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 243,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.24573,
    "c": 0.13291,
    "h": 272.9
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#120E5E
secondary
#939830
accent
#F137E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #120E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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