#120B44#120B44

#120B44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.100 H 278.7°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#120B44
RGBrgb(18, 11, 68)
HSLhsl(247, 72%, 15%)
HSVhsv(247, 84%, 27%)
CMYKcmyk(73.5%, 83.8%, 0%, 73.3%)
CIE-LABlab(7.09, 23.38, -34.32)
CIE-LCHlch(7.09, 41.53, 304.27°)
OKLaboklab(20.9% 0.0153 -0.0993)
OKLCHoklch(20.9% 0.1 278.7)
XYZxyz(1.4122, 0.7852, 5.5449)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B44 #3D440B
analogous
#0B2044 #120B44 #2E0B44
triadic
#120B44 #44120B #0B4412
tetradic
#120B44 #440B20 #3D440B #0B442E
square
#120B44 #440B20 #3D440B #0B442E
split-complementary
#120B44 #442E0B #20440B
monochromatic
#07041A #07041A #120B44 #201479 #2E1CAD

Accessibility & contrast

On white

18.15
#120B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#120B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B44
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B44#FFFFFF#000000##FFFFFF
##120B441.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120b44;
/* rgb */ color: rgb(18, 11, 68);
/* oklch */ color: oklch(20.9% 0.100 278.7);
Tailwind
colors: {
  custom: {
    50: '#584b79',
    500: '#120b44',
    950: '#000000',
  },
}
SCSS
$custom: #120b44;
$custom-light: #584b79;
$custom-dark: #000000;
JSON
{
  "hex": "#120b44",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 247.368,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20903,
    "c": 0.10044,
    "h": 278.7
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#120B44
secondary
#76812A
accent
#EF39D9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120B44

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

Preview Lab → · Contrast checker → · Palette generator →

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