#121559#121559

#121559 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.119 H 272.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#121559
RGBrgb(18, 21, 89)
HSLhsl(237, 66%, 21%)
HSVhsv(237, 80%, 35%)
CMYKcmyk(79.8%, 76.4%, 0%, 65.1%)
CIE-LABlab(11.86, 24.94, -40.96)
CIE-LCHlch(11.86, 47.95, 301.34°)
OKLaboklab(25.06% 0.0043 -0.1185)
OKLCHoklch(25.06% 0.119 272.1)
XYZxyz(2.3202, 1.3860, 9.5945)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121559 #595612
analogous
#123859 #121559 #321259
triadic
#121559 #591215 #155912
tetradic
#121559 #591238 #595612 #125932
square
#121559 #591238 #595612 #125932
split-complementary
#121559 #593212 #385912
monochromatic
#050619 #080926 #121559 #1C218C #272DBF

Accessibility & contrast

On white

16.44
#121559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121559
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121559#FFFFFF#000000##FFFFFF
##1215591.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001C58
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121559;
/* rgb */ color: rgb(18, 21, 89);
/* oklch */ color: oklch(25.1% 0.119 272.1);
Tailwind
colors: {
  custom: {
    50: '#5d5389',
    500: '#121559',
    950: '#000000',
  },
}
SCSS
$custom: #121559;
$custom-light: #5d5389;
$custom-dark: #000000;
JSON
{
  "hex": "#121559",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 237.465,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25059,
    "c": 0.11859,
    "h": 272.1
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#121559
secondary
#928E35
accent
#E23FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121559

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

Preview Lab → · Contrast checker → · Palette generator →

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