#120B45#120B45

#120B45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.102 H 278.5°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#120B45
RGBrgb(18, 11, 69)
HSLhsl(247, 73%, 16%)
HSVhsv(247, 84%, 27%)
CMYKcmyk(73.9%, 84.1%, 0%, 72.9%)
CIE-LABlab(7.20, 23.79, -34.84)
CIE-LCHlch(7.20, 42.19, 304.33°)
OKLaboklab(21.02% 0.015 -0.1008)
OKLCHoklch(21.02% 0.102 278.5)
XYZxyz(1.4430, 0.7975, 5.7070)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B45 #3E450B
analogous
#0B2145 #120B45 #2F0B45
triadic
#120B45 #45120B #0B4512
tetradic
#120B45 #450B21 #3E450B #0B452F
square
#120B45 #450B21 #3E450B #0B452F
split-complementary
#120B45 #452F0B #21450B
monochromatic
#07041A #07041A #120B45 #20137A #2E1CAF

Accessibility & contrast

On white

18.11
#120B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B45
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B45#FFFFFF#000000##FFFFFF
##120B451.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120b45;
/* rgb */ color: rgb(18, 11, 69);
/* oklch */ color: oklch(21.0% 0.102 278.5);
Tailwind
colors: {
  custom: {
    50: '#594b79',
    500: '#120b45',
    950: '#000000',
  },
}
SCSS
$custom: #120b45;
$custom-light: #594b79;
$custom-dark: #000000;
JSON
{
  "hex": "#120b45",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 247.241,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21024,
    "c": 0.10187,
    "h": 278.5
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #120B45

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

Preview Lab → · Contrast checker → · Palette generator →

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