#120E4B#120E4B

#120E4B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.107 H 276.1°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#120E4B
RGBrgb(18, 14, 75)
HSLhsl(244, 69%, 17%)
HSVhsv(244, 81%, 29%)
CMYKcmyk(76%, 81.3%, 0%, 70.6%)
CIE-LABlab(8.57, 24.23, -36.79)
CIE-LCHlch(8.57, 44.05, 303.37°)
OKLaboklab(22.23% 0.0114 -0.1063)
OKLCHoklch(22.23% 0.107 276.1)
XYZxyz(1.6761, 0.9505, 6.7504)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E4B #474B0E
analogous
#0E294B #120E4B #300E4B
triadic
#120E4B #4B120E #0E4B12
tetradic
#120E4B #4B0E29 #474B0E #0E4B30
square
#120E4B #4B0E29 #474B0E #0E4B30
split-complementary
#120E4B #4B300E #294B0E
monochromatic
#06051A #06051A #120E4B #1E187F #2B21B2

Accessibility & contrast

On white

17.64
#120E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#120E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E4B
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E4B#FFFFFF#000000##FFFFFF
##120E4B1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00164A
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #120e4b;
/* rgb */ color: rgb(18, 14, 75);
/* oklch */ color: oklch(22.2% 0.107 276.1);
Tailwind
colors: {
  custom: {
    50: '#5a4d7e',
    500: '#120e4b',
    950: '#000000',
  },
}
SCSS
$custom: #120e4b;
$custom-light: #5a4d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#120e4b",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 243.934,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22226,
    "c": 0.10694,
    "h": 276.1
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#120E4B
secondary
#80862F
accent
#EB3CE0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #120E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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