#120A41#120A41

#120A41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.097 H 279.9°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#120A41
RGBrgb(18, 10, 65)
HSLhsl(249, 73%, 15%)
HSVhsv(249, 85%, 25%)
CMYKcmyk(72.3%, 84.6%, 0%, 74.5%)
CIE-LABlab(6.57, 22.66, -33.05)
CIE-LCHlch(6.57, 40.07, 304.43°)
OKLaboklab(20.39% 0.0168 -0.0958)
OKLCHoklch(20.39% 0.097 279.9)
XYZxyz(1.3118, 0.7272, 5.0712)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A41 #39410A
analogous
#0A1E41 #120A41 #2E0A41
triadic
#120A41 #41120A #0A4112
tetradic
#120A41 #410A1E #39410A #0A412E
square
#120A41 #410A1E #39410A #0A412E
split-complementary
#120A41 #412E0A #1E410A
monochromatic
#07041B #07041B #120A41 #211276 #2F1AAB

Accessibility & contrast

On white

18.33
#120A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120A41
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A41#FFFFFF#000000##FFFFFF
##120A411.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120a41;
/* rgb */ color: rgb(18, 10, 65);
/* oklch */ color: oklch(20.4% 0.097 279.9);
Tailwind
colors: {
  custom: {
    50: '#584a76',
    500: '#120a41',
    950: '#000000',
  },
}
SCSS
$custom: #120a41;
$custom-light: #584a76;
$custom-dark: #000000;
JSON
{
  "hex": "#120a41",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 248.727,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20385,
    "c": 0.09731,
    "h": 279.9
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#120A41
secondary
#727E29
accent
#F038D5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #120A41

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

Preview Lab → · Contrast checker → · Palette generator →

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