#120B49#120B49

#120B49 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.5% C 0.108 H 277.4°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#120B49
RGBrgb(18, 11, 73)
HSLhsl(247, 74%, 16%)
HSVhsv(247, 85%, 29%)
CMYKcmyk(75.3%, 84.9%, 0%, 71.4%)
CIE-LABlab(7.67, 25.36, -36.89)
CIE-LCHlch(7.67, 44.76, 304.51°)
OKLaboklab(21.51% 0.0139 -0.1066)
OKLCHoklch(21.51% 0.108 277.4)
XYZxyz(1.5713, 0.8488, 6.3831)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B49 #42490B
analogous
#0B2349 #120B49 #310B49
triadic
#120B49 #49120B #0B4912
tetradic
#120B49 #490B23 #42490B #0B4931
square
#120B49 #490B23 #42490B #0B4931
split-complementary
#120B49 #49310B #23490B
monochromatic
#07041B #07041B #120B49 #1F137E #2C1BB3

Accessibility & contrast

On white

17.95
#120B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B49
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B49#FFFFFF#000000##FFFFFF
##120B491.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001448
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #120b49;
/* rgb */ color: rgb(18, 11, 73);
/* oklch */ color: oklch(21.5% 0.108 277.4);
Tailwind
colors: {
  custom: {
    50: '#5a4b7d',
    500: '#120b49',
    950: '#000000',
  },
}
SCSS
$custom: #120b49;
$custom-light: #5a4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#120b49",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 246.774,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21512,
    "c": 0.10751,
    "h": 277.4
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#120B49
secondary
#7B852A
accent
#F037DC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #120B49

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

Preview Lab → · Contrast checker → · Palette generator →

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