#120E4F#120E4F

#120E4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.113 H 275.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#120E4F
RGBrgb(18, 14, 79)
HSLhsl(244, 70%, 18%)
HSVhsv(244, 82%, 31%)
CMYKcmyk(77.2%, 82.3%, 0%, 69%)
CIE-LABlab(9.05, 25.73, -38.77)
CIE-LCHlch(9.05, 46.53, 303.57°)
OKLaboklab(22.71% 0.0105 -0.1121)
OKLCHoklch(22.71% 0.113 275.3)
XYZxyz(1.8173, 1.0070, 7.4942)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E4F #4B4F0E
analogous
#0E2A4F #120E4F #320E4F
triadic
#120E4F #4F120E #0E4F12
tetradic
#120E4F #4F0E2A #4B4F0E #0E4F32
square
#120E4F #4F0E2A #4B4F0E #0E4F32
split-complementary
#120E4F #4F320E #2A4F0E
monochromatic
#06051A #06051B #120E4F #1E1783 #2A20B7

Accessibility & contrast

On white

17.48
#120E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#120E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E4F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E4F#FFFFFF#000000##FFFFFF
##120E4F1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #120e4f;
/* rgb */ color: rgb(18, 14, 79);
/* oklch */ color: oklch(22.7% 0.113 275.3);
Tailwind
colors: {
  custom: {
    50: '#5b4d81',
    500: '#120e4f',
    950: '#000000',
  },
}
SCSS
$custom: #120e4f;
$custom-light: #5b4d81;
$custom-dark: #000000;
JSON
{
  "hex": "#120e4f",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 243.692,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22706,
    "c": 0.1126,
    "h": 275.3
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#120E4F
secondary
#848A2F
accent
#ED3BE2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #120E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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