#120E4E#120E4E

#120E4E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.111 H 275.5°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#120E4E
RGBrgb(18, 14, 78)
HSLhsl(244, 70%, 18%)
HSVhsv(244, 82%, 31%)
CMYKcmyk(76.9%, 82.1%, 0%, 69.4%)
CIE-LABlab(8.93, 25.35, -38.28)
CIE-LCHlch(8.93, 45.92, 303.52°)
OKLaboklab(22.59% 0.0107 -0.1107)
OKLCHoklch(22.59% 0.111 275.5)
XYZxyz(1.7812, 0.9926, 7.3040)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E4E #4A4E0E
analogous
#0E2A4E #120E4E #320E4E
triadic
#120E4E #4E120E #0E4E12
tetradic
#120E4E #4E0E2A #4A4E0E #0E4E32
square
#120E4E #4E0E2A #4A4E0E #0E4E32
split-complementary
#120E4E #4E320E #2A4E0E
monochromatic
#06051A #06051A #120E4E #1E1782 #2A21B6

Accessibility & contrast

On white

17.52
#120E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#120E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E4E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E4E#FFFFFF#000000##FFFFFF
##120E4E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00164D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #120e4e;
/* rgb */ color: rgb(18, 14, 78);
/* oklch */ color: oklch(22.6% 0.111 275.5);
Tailwind
colors: {
  custom: {
    50: '#5b4d80',
    500: '#120e4e',
    950: '#000000',
  },
}
SCSS
$custom: #120e4e;
$custom-light: #5b4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#120e4e",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 243.75,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22585,
    "c": 0.11119,
    "h": 275.5
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#120E4E
secondary
#83892F
accent
#EC3BE1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #120E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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