#121141#121141

#121141 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.088 H 277.0°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#121141
RGBrgb(18, 17, 65)
HSLhsl(241, 59%, 16%)
HSVhsv(241, 74%, 25%)
CMYKcmyk(72.3%, 73.8%, 0%, 74.5%)
CIE-LABlab(8.23, 18.25, -30.33)
CIE-LCHlch(8.23, 35.40, 301.03°)
OKLaboklab(21.64% 0.0108 -0.0874)
OKLCHoklch(21.64% 0.088 277)
XYZxyz(1.4037, 0.9110, 5.1019)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121141 #404111
analogous
#112841 #121141 #2A1141
triadic
#121141 #411211 #114112
tetradic
#121141 #411128 #404111 #11412A
square
#121141 #411128 #404111 #11412A
split-complementary
#121141 #412A11 #284111
monochromatic
#070618 #070618 #121141 #1F1E72 #2D2AA2

Accessibility & contrast

On white

17.76
#121141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121141
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121141#FFFFFF#000000##FFFFFF
##1211411.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #121141;
/* rgb */ color: rgb(18, 17, 65);
/* oklch */ color: oklch(21.6% 0.088 277.0);
Tailwind
colors: {
  custom: {
    50: '#574f76',
    500: '#121141',
    950: '#000000',
  },
}
SCSS
$custom: #121141;
$custom-light: #574f76;
$custom-dark: #000000;
JSON
{
  "hex": "#121141",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 241.25,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21642,
    "c": 0.08811,
    "h": 277
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#121141
secondary
#797B33
accent
#E246DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #121141

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

Preview Lab → · Contrast checker → · Palette generator →

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