#121044#121044

#121044 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.094 H 276.9°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#121044
RGBrgb(18, 16, 68)
HSLhsl(242, 62%, 16%)
HSVhsv(242, 76%, 27%)
CMYKcmyk(73.5%, 76.5%, 0%, 73.3%)
CIE-LABlab(8.27, 20.16, -32.38)
CIE-LCHlch(8.27, 38.14, 301.91°)
OKLaboklab(21.77% 0.0113 -0.0934)
OKLCHoklch(21.77% 0.094 276.9)
XYZxyz(1.4778, 0.9164, 5.5667)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121044 #424410
analogous
#102844 #121044 #2C1044
triadic
#121044 #441210 #104412
tetradic
#121044 #441028 #424410 #10442C
square
#121044 #441028 #424410 #10442C
split-complementary
#121044 #442C10 #284410
monochromatic
#070619 #070619 #121044 #1F1C76 #2C27A7

Accessibility & contrast

On white

17.75
#121044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#121044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121044
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121044#FFFFFF#000000##FFFFFF
##1210441.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121044;
/* rgb */ color: rgb(18, 16, 68);
/* oklch */ color: oklch(21.8% 0.094 276.9);
Tailwind
colors: {
  custom: {
    50: '#584e78',
    500: '#121044',
    950: '#000000',
  },
}
SCSS
$custom: #121044;
$custom-light: #584e78;
$custom-dark: #000000;
JSON
{
  "hex": "#121044",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 242.308,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21773,
    "c": 0.09412,
    "h": 276.9
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#121044
secondary
#7B7E32
accent
#E543DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #121044

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

Preview Lab → · Contrast checker → · Palette generator →

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