#120B41#120B41

#120B41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.096 H 279.6°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#120B41
RGBrgb(18, 11, 65)
HSLhsl(248, 71%, 15%)
HSVhsv(248, 83%, 25%)
CMYKcmyk(72.3%, 83.1%, 0%, 74.5%)
CIE-LABlab(6.77, 22.13, -32.72)
CIE-LCHlch(6.77, 39.50, 304.07°)
OKLaboklab(20.55% 0.016 -0.0948)
OKLCHoklch(20.55% 0.096 279.6)
XYZxyz(1.3230, 0.7495, 5.0750)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B41 #3A410B
analogous
#0B1F41 #120B41 #2D0B41
triadic
#120B41 #41120B #0B4112
tetradic
#120B41 #410B1F #3A410B #0B412D
square
#120B41 #410B1F #3A410B #0B412D
split-complementary
#120B41 #412D0B #1F410B
monochromatic
#07041A #07041A #120B41 #201475 #2F1DAA

Accessibility & contrast

On white

18.26
#120B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B41
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B41#FFFFFF#000000##FFFFFF
##120B411.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120b41;
/* rgb */ color: rgb(18, 11, 65);
/* oklch */ color: oklch(20.5% 0.096 279.6);
Tailwind
colors: {
  custom: {
    50: '#584b76',
    500: '#120b41',
    950: '#000000',
  },
}
SCSS
$custom: #120b41;
$custom-light: #584b76;
$custom-dark: #000000;
JSON
{
  "hex": "#120b41",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 247.778,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20546,
    "c": 0.09612,
    "h": 279.6
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#120B41
secondary
#737E2A
accent
#EE3AD6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #120B41

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

Preview Lab → · Contrast checker → · Palette generator →

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