#120B56#120B56

#120B56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.2% C 0.125 H 274.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#120B56
RGBrgb(18, 11, 86)
HSLhsl(246, 77%, 19%)
HSVhsv(246, 87%, 34%)
CMYKcmyk(79.1%, 87.2%, 0%, 66.3%)
CIE-LABlab(9.32, 30.02, -43.13)
CIE-LCHlch(9.32, 52.55, 304.83°)
OKLaboklab(23.15% 0.0101 -0.1247)
OKLCHoklch(23.15% 0.125 274.6)
XYZxyz(2.0483, 1.0396, 8.8950)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B56 #4F560B
analogous
#0B2A56 #120B56 #380B56
triadic
#120B56 #56120B #0B5612
tetradic
#120B56 #560B2A #4F560B #0B5638
square
#120B56 #560B2A #4F560B #0B5638
split-complementary
#120B56 #56380B #2A560B
monochromatic
#06031B #070420 #120B56 #1D128C #2919C3

Accessibility & contrast

On white

17.38
#120B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#120B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B56
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B56#FFFFFF#000000##FFFFFF
##120B561.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #120b56;
/* rgb */ color: rgb(18, 11, 86);
/* oklch */ color: oklch(23.2% 0.125 274.6);
Tailwind
colors: {
  custom: {
    50: '#5e4c87',
    500: '#120b56',
    950: '#000000',
  },
}
SCSS
$custom: #120b56;
$custom-light: #5e4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#120b56",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 245.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23152,
    "c": 0.12513,
    "h": 274.6
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#120B56
secondary
#88912B
accent
#F434E2
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #120B56

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

Preview Lab → · Contrast checker → · Palette generator →

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