#121041#121041

#121041 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.090 H 277.5°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#121041
RGBrgb(18, 16, 65)
HSLhsl(242, 60%, 16%)
HSVhsv(242, 75%, 25%)
CMYKcmyk(72.3%, 75.4%, 0%, 74.5%)
CIE-LABlab(7.96, 18.98, -30.78)
CIE-LCHlch(7.96, 36.16, 301.66°)
OKLaboklab(21.45% 0.0117 -0.0887)
OKLCHoklch(21.45% 0.09 277.5)
XYZxyz(1.3886, 0.8807, 5.0968)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121041 #3F4110
analogous
#102641 #121041 #2A1041
triadic
#121041 #411210 #104112
tetradic
#121041 #411026 #3F4110 #10412A
square
#121041 #411026 #3F4110 #10412A
split-complementary
#121041 #412A10 #264110
monochromatic
#070619 #070619 #121041 #201C72 #2D28A3

Accessibility & contrast

On white

17.85
#121041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121041
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121041#FFFFFF#000000##FFFFFF
##1210411.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #121041;
/* rgb */ color: rgb(18, 16, 65);
/* oklch */ color: oklch(21.4% 0.090 277.5);
Tailwind
colors: {
  custom: {
    50: '#574e76',
    500: '#121041',
    950: '#000000',
  },
}
SCSS
$custom: #121041;
$custom-light: #574e76;
$custom-dark: #000000;
JSON
{
  "hex": "#121041",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 242.449,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21445,
    "c": 0.08952,
    "h": 277.5
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#121041
secondary
#787B32
accent
#E444DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #121041

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

Preview Lab → · Contrast checker → · Palette generator →

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