#120E44#120E44

#120E44 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.097 H 277.7°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#120E44
RGBrgb(18, 14, 68)
HSLhsl(244, 66%, 16%)
HSVhsv(244, 79%, 27%)
CMYKcmyk(73.5%, 79.4%, 0%, 73.3%)
CIE-LABlab(7.77, 21.55, -33.21)
CIE-LCHlch(7.77, 39.59, 302.98°)
OKLaboklab(21.41% 0.0129 -0.0959)
OKLCHoklch(21.41% 0.097 277.7)
XYZxyz(1.4495, 0.8599, 5.5573)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E44 #40440E
analogous
#0E2544 #120E44 #2D0E44
triadic
#120E44 #44120E #0E4412
tetradic
#120E44 #440E25 #40440E #0E442D
square
#120E44 #440E25 #40440E #0E442D
split-complementary
#120E44 #442D0E #25440E
monochromatic
#070519 #070519 #120E44 #1F1877 #2D23AA

Accessibility & contrast

On white

17.92
#120E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#120E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E44
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E44#FFFFFF#000000##FFFFFF
##120E441.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #120e44;
/* rgb */ color: rgb(18, 14, 68);
/* oklch */ color: oklch(21.4% 0.097 277.7);
Tailwind
colors: {
  custom: {
    50: '#584d79',
    500: '#120e44',
    950: '#000000',
  },
}
SCSS
$custom: #120e44;
$custom-light: #584d79;
$custom-dark: #000000;
JSON
{
  "hex": "#120e44",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 244.444,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21407,
    "c": 0.09675,
    "h": 277.7
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#120E44
secondary
#797F2F
accent
#E93FDC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120E44

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

Preview Lab → · Contrast checker → · Palette generator →

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