#120E49#120E49

#120E49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.104 H 276.5°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#120E49
RGBrgb(18, 14, 73)
HSLhsl(244, 68%, 17%)
HSVhsv(244, 81%, 29%)
CMYKcmyk(75.3%, 80.8%, 0%, 71.4%)
CIE-LABlab(8.34, 23.47, -35.78)
CIE-LCHlch(8.34, 42.79, 303.26°)
OKLaboklab(21.99% 0.0119 -0.1034)
OKLCHoklch(21.99% 0.104 276.5)
XYZxyz(1.6087, 0.9236, 6.3955)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E49 #45490E
analogous
#0E2849 #120E49 #300E49
triadic
#120E49 #49120E #0E4912
tetradic
#120E49 #490E28 #45490E #0E4930
square
#120E49 #490E28 #45490E #0E4930
split-complementary
#120E49 #49300E #28490E
monochromatic
#06051A #06051A #120E49 #1F187C #2B22B0

Accessibility & contrast

On white

17.72
#120E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#120E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E49
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E49#FFFFFF#000000##FFFFFF
##120E491.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #120e49;
/* rgb */ color: rgb(18, 14, 73);
/* oklch */ color: oklch(22.0% 0.104 276.5);
Tailwind
colors: {
  custom: {
    50: '#5a4d7c',
    500: '#120e49',
    950: '#000000',
  },
}
SCSS
$custom: #120e49;
$custom-light: #5a4d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#120e49",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 244.068,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21989,
    "c": 0.10407,
    "h": 276.5
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#120E49
secondary
#7E842F
accent
#EB3DDF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120E49

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

Preview Lab → · Contrast checker → · Palette generator →

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