#120E4C#120E4C

#120E4C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.108 H 275.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#120E4C
RGBrgb(18, 14, 76)
HSLhsl(244, 69%, 18%)
HSVhsv(244, 82%, 30%)
CMYKcmyk(76.3%, 81.6%, 0%, 70.2%)
CIE-LABlab(8.69, 24.61, -37.29)
CIE-LCHlch(8.69, 44.68, 303.42°)
OKLaboklab(22.35% 0.0112 -0.1078)
OKLCHoklch(22.35% 0.108 275.9)
XYZxyz(1.7106, 0.9643, 6.9321)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E4C #484C0E
analogous
#0E294C #120E4C #310E4C
triadic
#120E4C #4C120E #0E4C12
tetradic
#120E4C #4C0E29 #484C0E #0E4C31
square
#120E4C #4C0E29 #484C0E #0E4C31
split-complementary
#120E4C #4C310E #294C0E
monochromatic
#06051A #06051A #120E4C #1E1880 #2A21B3

Accessibility & contrast

On white

17.61
#120E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E4C
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E4C#FFFFFF#000000##FFFFFF
##120E4C1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #120e4c;
/* rgb */ color: rgb(18, 14, 76);
/* oklch */ color: oklch(22.3% 0.108 275.9);
Tailwind
colors: {
  custom: {
    50: '#5a4d7f',
    500: '#120e4c',
    950: '#000000',
  },
}
SCSS
$custom: #120e4c;
$custom-light: #5a4d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#120e4c",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 243.871,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22345,
    "c": 0.10837,
    "h": 275.9
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#120E4C
secondary
#81872F
accent
#EC3CE0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #120E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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