#121054#121054

#121054 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.117 H 274.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#121054
RGBrgb(18, 16, 84)
HSLhsl(242, 68%, 20%)
HSVhsv(242, 81%, 33%)
CMYKcmyk(78.6%, 81%, 0%, 67.1%)
CIE-LABlab(10.10, 26.32, -40.47)
CIE-LCHlch(10.10, 48.28, 303.04°)
OKLaboklab(23.63% 0.0081 -0.1171)
OKLCHoklch(23.63% 0.117 274)
XYZxyz(2.0344, 1.1391, 8.4984)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121054 #525410
analogous
#103054 #121054 #341054
triadic
#121054 #541210 #105412
tetradic
#121054 #541030 #525410 #105434
square
#121054 #541030 #525410 #105434
split-complementary
#121054 #543410 #305410
monochromatic
#06051A #070621 #121054 #1D1A87 #2824BB

Accessibility & contrast

On white

17.10
#121054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121054
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121054#FFFFFF#000000##FFFFFF
##1210541.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121054;
/* rgb */ color: rgb(18, 16, 84);
/* oklch */ color: oklch(23.6% 0.117 274.0);
Tailwind
colors: {
  custom: {
    50: '#5c4f85',
    500: '#121054',
    950: '#000000',
  },
}
SCSS
$custom: #121054;
$custom-light: #5c4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#121054",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 241.765,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23628,
    "c": 0.11735,
    "h": 274
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#121054
secondary
#8B8E32
accent
#EB3DE6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121054

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

Preview Lab → · Contrast checker → · Palette generator →

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