#120A47#120A47

#120A47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.106 H 278.2°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#120A47
RGBrgb(18, 10, 71)
HSLhsl(248, 75%, 16%)
HSVhsv(248, 86%, 28%)
CMYKcmyk(74.6%, 85.9%, 0%, 72.2%)
CIE-LABlab(7.23, 25.14, -36.20)
CIE-LCHlch(7.23, 44.08, 304.78°)
OKLaboklab(21.12% 0.0151 -0.1047)
OKLCHoklch(21.12% 0.106 278.2)
XYZxyz(1.4950, 0.8005, 6.0357)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A47 #3F470A
analogous
#0A2047 #120A47 #300A47
triadic
#120A47 #47120A #0A4712
tetradic
#120A47 #470A20 #3F470A #0A4730
square
#120A47 #470A20 #3F470A #0A4730
split-complementary
#120A47 #47300A #20470A
monochromatic
#07041B #07041B #120A47 #20127D #2D19B2

Accessibility & contrast

On white

18.10
#120A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120A47
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A47#FFFFFF#000000##FFFFFF
##120A471.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120a47;
/* rgb */ color: rgb(18, 10, 71);
/* oklch */ color: oklch(21.1% 0.106 278.2);
Tailwind
colors: {
  custom: {
    50: '#594a7b',
    500: '#120a47',
    950: '#000000',
  },
}
SCSS
$custom: #120a47;
$custom-light: #594a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#120a47",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 247.869,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21117,
    "c": 0.10579,
    "h": 278.2
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #120A47

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

Preview Lab → · Contrast checker → · Palette generator →

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