#120E4A#120E4A

#120E4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.105 H 276.3°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#120E4A
RGBrgb(18, 14, 74)
HSLhsl(244, 68%, 17%)
HSVhsv(244, 81%, 29%)
CMYKcmyk(75.7%, 81.1%, 0%, 71%)
CIE-LABlab(8.45, 23.85, -36.29)
CIE-LCHlch(8.45, 43.42, 303.32°)
OKLaboklab(22.11% 0.0116 -0.1049)
OKLCHoklch(22.11% 0.106 276.3)
XYZxyz(1.6421, 0.9369, 6.5715)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E4A #464A0E
analogous
#0E284A #120E4A #300E4A
triadic
#120E4A #4A120E #0E4A12
tetradic
#120E4A #4A0E28 #464A0E #0E4A30
square
#120E4A #4A0E28 #464A0E #0E4A30
split-complementary
#120E4A #4A300E #284A0E
monochromatic
#06051A #06051A #120E4A #1F187D #2B21B1

Accessibility & contrast

On white

17.69
#120E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#120E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E4A
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E4A#FFFFFF#000000##FFFFFF
##120E4A1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #120e4a;
/* rgb */ color: rgb(18, 14, 74);
/* oklch */ color: oklch(22.1% 0.105 276.3);
Tailwind
colors: {
  custom: {
    50: '#5a4d7d',
    500: '#120e4a',
    950: '#000000',
  },
}
SCSS
$custom: #120e4a;
$custom-light: #5a4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#120e4a",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 244,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22107,
    "c": 0.1055,
    "h": 276.3
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#120E4A
secondary
#7F852F
accent
#EB3DDF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #120E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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