#120B48#120B48

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

Color values

HEX#120B48
RGBrgb(18, 11, 72)
HSLhsl(247, 73%, 16%)
HSVhsv(247, 85%, 28%)
CMYKcmyk(75%, 84.7%, 0%, 71.8%)
CIE-LABlab(7.55, 24.97, -36.38)
CIE-LCHlch(7.55, 44.13, 304.47°)
OKLaboklab(21.39% 0.0141 -0.1052)
OKLCHoklch(21.39% 0.106 277.7)
XYZxyz(1.5384, 0.8357, 6.2099)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B48 #41480B
analogous
#0B2348 #120B48 #310B48
triadic
#120B48 #48120B #0B4812
tetradic
#120B48 #480B23 #41480B #0B4831
square
#120B48 #480B23 #41480B #0B4831
split-complementary
#120B48 #48310B #23480B
monochromatic
#07041B #07041B #120B48 #1F137D #2D1BB2

Accessibility & contrast

On white

17.99
#120B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B48
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B48#FFFFFF#000000##FFFFFF
##120B481.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120b48;
/* rgb */ color: rgb(18, 11, 72);
/* oklch */ color: oklch(21.4% 0.106 277.7);
Tailwind
colors: {
  custom: {
    50: '#5a4b7c',
    500: '#120b48',
    950: '#000000',
  },
}
SCSS
$custom: #120b48;
$custom-light: #5a4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#120b48",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 246.885,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21389,
    "c": 0.10611,
    "h": 277.7
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#120B48
secondary
#7A842A
accent
#F038DB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120B48

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

Preview Lab → · Contrast checker → · Palette generator →

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