#120944#120944

#120944 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.6% C 0.103 H 279.3°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#120944
RGBrgb(18, 9, 68)
HSLhsl(249, 77%, 15%)
HSVhsv(249, 87%, 27%)
CMYKcmyk(73.5%, 86.8%, 0%, 73.3%)
CIE-LABlab(6.70, 24.45, -34.97)
CIE-LCHlch(6.70, 42.67, 304.96°)
OKLaboklab(20.6% 0.0167 -0.1014)
OKLCHoklch(20.6% 0.103 279.3)
XYZxyz(1.3902, 0.7412, 5.5375)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120944 #3B4409
analogous
#091D44 #120944 #300944
triadic
#120944 #441209 #094412
tetradic
#120944 #44091D #3B4409 #094430
square
#120944 #44091D #3B4409 #094430
split-complementary
#120944 #443009 #1D4409
monochromatic
#07041B #07041B #120944 #20107A #2F17B0

Accessibility & contrast

On white

18.29
#120944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120944
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120944#FFFFFF#000000##FFFFFF
##1209441.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001243
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120944;
/* rgb */ color: rgb(18, 9, 68);
/* oklch */ color: oklch(20.6% 0.103 279.3);
Tailwind
colors: {
  custom: {
    50: '#594a79',
    500: '#120944',
    950: '#000000',
  },
}
SCSS
$custom: #120944;
$custom-light: #594a79;
$custom-dark: #000000;
JSON
{
  "hex": "#120944",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 249.153,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20595,
    "c": 0.10272,
    "h": 279.3
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#120944
secondary
#748227
accent
#F335D6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120944

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

Preview Lab → · Contrast checker → · Palette generator →

#120944 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva