#120F44#120F44

#120F44 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.095 H 277.3°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#120F44
RGBrgb(18, 15, 68)
HSLhsl(243, 64%, 16%)
HSVhsv(243, 78%, 27%)
CMYKcmyk(73.5%, 77.9%, 0%, 73.3%)
CIE-LABlab(8.02, 20.86, -32.80)
CIE-LCHlch(8.02, 38.87, 302.46°)
OKLaboklab(21.59% 0.0121 -0.0947)
OKLCHoklch(21.59% 0.095 277.3)
XYZxyz(1.4633, 0.8875, 5.5619)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F44 #41440F
analogous
#0F2744 #120F44 #2D0F44
triadic
#120F44 #44120F #0F4412
tetradic
#120F44 #440F27 #41440F #0F442D
square
#120F44 #440F27 #41440F #0F442D
split-complementary
#120F44 #442D0F #27440F
monochromatic
#070619 #070619 #120F44 #1F1A76 #2D25A8

Accessibility & contrast

On white

17.83
#120F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#120F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F44
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F44#FFFFFF#000000##FFFFFF
##120F441.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #120f44;
/* rgb */ color: rgb(18, 15, 68);
/* oklch */ color: oklch(21.6% 0.095 277.3);
Tailwind
colors: {
  custom: {
    50: '#584d79',
    500: '#120f44',
    950: '#000000',
  },
}
SCSS
$custom: #120f44;
$custom-light: #584d79;
$custom-dark: #000000;
JSON
{
  "hex": "#120f44",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 243.396,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21588,
    "c": 0.09545,
    "h": 277.3
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#120F44
secondary
#7A7E30
accent
#E741DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120F44

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

Preview Lab → · Contrast checker → · Palette generator →

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