#121154#121154

#121154 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.116 H 273.7°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#121154
RGBrgb(18, 17, 84)
HSLhsl(241, 66%, 20%)
HSVhsv(241, 80%, 33%)
CMYKcmyk(78.6%, 79.8%, 0%, 67.1%)
CIE-LABlab(10.33, 25.68, -40.09)
CIE-LCHlch(10.33, 47.61, 302.64°)
OKLaboklab(23.79% 0.0076 -0.116)
OKLCHoklch(23.79% 0.116 273.7)
XYZxyz(2.0496, 1.1694, 8.5035)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121154 #535411
analogous
#113154 #121154 #341154
triadic
#121154 #541211 #115412
tetradic
#121154 #541131 #535411 #115434
square
#121154 #541131 #535411 #115434
split-complementary
#121154 #543411 #315411
monochromatic
#050519 #070721 #121154 #1D1B87 #2826BA

Accessibility & contrast

On white

17.02
#121154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121154
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121154#FFFFFF#000000##FFFFFF
##1211541.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121154;
/* rgb */ color: rgb(18, 17, 84);
/* oklch */ color: oklch(23.8% 0.116 273.7);
Tailwind
colors: {
  custom: {
    50: '#5c5085',
    500: '#121154',
    950: '#000000',
  },
}
SCSS
$custom: #121154;
$custom-light: #5c5085;
$custom-dark: #000000;
JSON
{
  "hex": "#121154",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 240.896,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23791,
    "c": 0.11622,
    "h": 273.7
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#121154
secondary
#8C8D34
accent
#E93FE7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121154

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

Preview Lab → · Contrast checker → · Palette generator →

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