#120B4B#120B4B

#120B4B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.110 H 276.9°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#120B4B
RGBrgb(18, 11, 75)
HSLhsl(247, 74%, 17%)
HSVhsv(247, 85%, 29%)
CMYKcmyk(76%, 85.3%, 0%, 70.6%)
CIE-LABlab(7.91, 26.10, -37.88)
CIE-LCHlch(7.91, 46.00, 304.57°)
OKLaboklab(21.76% 0.0133 -0.1095)
OKLCHoklch(21.76% 0.11 276.9)
XYZxyz(1.6387, 0.8758, 6.7379)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B4B #444B0B
analogous
#0B244B #120B4B #320B4B
triadic
#120B4B #4B120B #0B4B12
tetradic
#120B4B #4B0B24 #444B0B #0B4B32
square
#120B4B #4B0B24 #444B0B #0B4B32
split-complementary
#120B4B #4B320B #244B0B
monochromatic
#06041B #06041B #120B4B #1F1380 #2C1BB6

Accessibility & contrast

On white

17.87
#120B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#120B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120B4B
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B4B#FFFFFF#000000##FFFFFF
##120B4B1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #120b4b;
/* rgb */ color: rgb(18, 11, 75);
/* oklch */ color: oklch(21.8% 0.110 276.9);
Tailwind
colors: {
  custom: {
    50: '#5a4b7e',
    500: '#120b4b',
    950: '#000000',
  },
}
SCSS
$custom: #120b4b;
$custom-light: #5a4b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#120b4b",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 246.563,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21759,
    "c": 0.11028,
    "h": 276.9
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#120B4B
secondary
#7D872B
accent
#F137DD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #120B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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