#121558#121558

#121558 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.117 H 272.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#121558
RGBrgb(18, 21, 88)
HSLhsl(237, 66%, 21%)
HSVhsv(237, 80%, 35%)
CMYKcmyk(79.5%, 76.1%, 0%, 65.5%)
CIE-LABlab(11.75, 24.55, -40.47)
CIE-LCHlch(11.75, 47.33, 301.24°)
OKLaboklab(24.95% 0.0045 -0.1171)
OKLCHoklch(24.95% 0.117 272.2)
XYZxyz(2.2785, 1.3693, 9.3748)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121558 #585512
analogous
#123858 #121558 #321258
triadic
#121558 #581215 #155812
tetradic
#121558 #581238 #585512 #125832
square
#121558 #581238 #585512 #125832
split-complementary
#121558 #583212 #385812
monochromatic
#050619 #080925 #121558 #1C218B #272DBE

Accessibility & contrast

On white

16.48
#121558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121558
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121558#FFFFFF#000000##FFFFFF
##1215581.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121558;
/* rgb */ color: rgb(18, 21, 88);
/* oklch */ color: oklch(24.9% 0.117 272.2);
Tailwind
colors: {
  custom: {
    50: '#5d5388',
    500: '#121558',
    950: '#000000',
  },
}
SCSS
$custom: #121558;
$custom-light: #5d5388;
$custom-dark: #000000;
JSON
{
  "hex": "#121558",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 237.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24945,
    "c": 0.11716,
    "h": 272.2
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#121558
secondary
#918D35
accent
#E23FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121558

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

Preview Lab → · Contrast checker → · Palette generator →

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