#120A46#120A46

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

Color values

HEX#120A46
RGBrgb(18, 10, 70)
HSLhsl(248, 75%, 16%)
HSVhsv(248, 86%, 27%)
CMYKcmyk(74.3%, 85.7%, 0%, 72.5%)
CIE-LABlab(7.12, 24.74, -35.69)
CIE-LCHlch(7.12, 43.43, 304.73°)
OKLaboklab(20.99% 0.0154 -0.1033)
OKLCHoklch(20.99% 0.104 278.5)
XYZxyz(1.4631, 0.7878, 5.8681)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A46 #3E460A
analogous
#0A2046 #120A46 #300A46
triadic
#120A46 #46120A #0A4612
tetradic
#120A46 #460A20 #3E460A #0A4630
square
#120A46 #460A20 #3E460A #0A4630
split-complementary
#120A46 #46300A #20460A
monochromatic
#07041B #07041B #120A46 #20127C #2E19B1

Accessibility & contrast

On white

18.14
#120A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120A46
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A46#FFFFFF#000000##FFFFFF
##120A461.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120a46;
/* rgb */ color: rgb(18, 10, 70);
/* oklch */ color: oklch(21.0% 0.104 278.5);
Tailwind
colors: {
  custom: {
    50: '#594a7a',
    500: '#120a46',
    950: '#000000',
  },
}
SCSS
$custom: #120a46;
$custom-light: #594a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#120a46",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 248,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.1044,
    "h": 278.5
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#120A46
secondary
#778329
accent
#F236D9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120A46

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

Preview Lab → · Contrast checker → · Palette generator →

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