#121554#121554

#121554 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.111 H 272.6°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#121554
RGBrgb(18, 21, 84)
HSLhsl(237, 65%, 20%)
HSVhsv(237, 79%, 33%)
CMYKcmyk(78.6%, 75%, 0%, 67.1%)
CIE-LABlab(11.31, 22.97, -38.48)
CIE-LCHlch(11.31, 44.82, 300.84°)
OKLaboklab(24.49% 0.0051 -0.1113)
OKLCHoklch(24.49% 0.111 272.6)
XYZxyz(2.1173, 1.3048, 8.5261)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121554 #545112
analogous
#123654 #121554 #301254
triadic
#121554 #541215 #155412
tetradic
#121554 #541236 #545112 #125430
square
#121554 #541236 #545112 #125430
split-complementary
#121554 #543012 #365412
monochromatic
#050619 #070822 #121554 #1D2286 #282EB9

Accessibility & contrast

On white

16.65
#121554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121554
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121554#FFFFFF#000000##FFFFFF
##1215541.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001B53
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121554;
/* rgb */ color: rgb(18, 21, 84);
/* oklch */ color: oklch(24.5% 0.111 272.6);
Tailwind
colors: {
  custom: {
    50: '#5c5285',
    500: '#121554',
    950: '#000000',
  },
}
SCSS
$custom: #121554;
$custom-light: #5c5285;
$custom-dark: #000000;
JSON
{
  "hex": "#121554",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 237.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.24493,
    "c": 0.11139,
    "h": 272.6
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#121554
secondary
#8D8935
accent
#E040E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121554

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

Preview Lab → · Contrast checker → · Palette generator →

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