#120B43#120B43

#120B43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.099 H 279.0°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#120B43
RGBrgb(18, 11, 67)
HSLhsl(248, 72%, 15%)
HSVhsv(248, 84%, 26%)
CMYKcmyk(73.1%, 83.6%, 0%, 73.7%)
CIE-LABlab(6.98, 22.97, -33.79)
CIE-LCHlch(6.98, 40.86, 304.21°)
OKLaboklab(20.78% 0.0155 -0.0978)
OKLCHoklch(20.78% 0.099 279)
XYZxyz(1.3819, 0.7731, 5.3855)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B43 #3C430B
analogous
#0B2043 #120B43 #2E0B43
triadic
#120B43 #43120B #0B4312
tetradic
#120B43 #430B20 #3C430B #0B432E
square
#120B43 #430B20 #3C430B #0B432E
split-complementary
#120B43 #432E0B #20430B
monochromatic
#07041A #07041A #120B43 #201478 #2E1CAC

Accessibility & contrast

On white

18.19
#120B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B43
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B43#FFFFFF#000000##FFFFFF
##120B431.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120b43;
/* rgb */ color: rgb(18, 11, 67);
/* oklch */ color: oklch(20.8% 0.099 279.0);
Tailwind
colors: {
  custom: {
    50: '#584b78',
    500: '#120b43',
    950: '#000000',
  },
}
SCSS
$custom: #120b43;
$custom-light: #584b78;
$custom-dark: #000000;
JSON
{
  "hex": "#120b43",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 247.5,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20784,
    "c": 0.099,
    "h": 279
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#120B43
secondary
#75802A
accent
#EF39D8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120B43

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

Preview Lab → · Contrast checker → · Palette generator →

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