#121046#121046

#121046 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.097 H 276.5°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#121046
RGBrgb(18, 16, 70)
HSLhsl(242, 63%, 17%)
HSVhsv(242, 77%, 27%)
CMYKcmyk(74.3%, 77.1%, 0%, 72.5%)
CIE-LABlab(8.49, 20.95, -33.43)
CIE-LCHlch(8.49, 39.45, 302.08°)
OKLaboklab(22% 0.0109 -0.0965)
OKLCHoklch(22% 0.097 276.5)
XYZxyz(1.5399, 0.9412, 5.8937)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121046 #444610
analogous
#102946 #121046 #2D1046
triadic
#121046 #461210 #104612
tetradic
#121046 #461029 #444610 #10462D
square
#121046 #461029 #444610 #10462D
split-complementary
#121046 #462D10 #294610
monochromatic
#060619 #060619 #121046 #1F1B78 #2C27AA

Accessibility & contrast

On white

17.67
#121046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#121046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121046
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121046#FFFFFF#000000##FFFFFF
##1210461.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #121046;
/* rgb */ color: rgb(18, 16, 70);
/* oklch */ color: oklch(22.0% 0.097 276.5);
Tailwind
colors: {
  custom: {
    50: '#584e7a',
    500: '#121046',
    950: '#000000',
  },
}
SCSS
$custom: #121046;
$custom-light: #584e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#121046",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 242.222,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21996,
    "c": 0.09714,
    "h": 276.5
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#121046
secondary
#7D8032
accent
#E642E0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #121046

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

Preview Lab → · Contrast checker → · Palette generator →

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