#121547#121547

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

Color values

HEX#121547
RGBrgb(18, 21, 71)
HSLhsl(237, 60%, 17%)
HSVhsv(237, 75%, 28%)
CMYKcmyk(74.6%, 70.4%, 0%, 72.2%)
CIE-LABlab(9.95, 17.73, -31.74)
CIE-LCHlch(9.95, 36.35, 299.18°)
OKLaboklab(23.09% 0.0064 -0.0916)
OKLCHoklch(23.09% 0.092 274)
XYZxyz(1.6546, 1.1197, 6.0889)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121547 #474412
analogous
#122F47 #121547 #2A1247
triadic
#121547 #471215 #154712
tetradic
#121547 #47122F #474412 #12472A
square
#121547 #47122F #474412 #12472A
split-complementary
#121547 #472A12 #2F4712
monochromatic
#060718 #060718 #121547 #1E2378 #2B32A9

Accessibility & contrast

On white

17.16
#121547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121547
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121547#FFFFFF#000000##FFFFFF
##1215471.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121547;
/* rgb */ color: rgb(18, 21, 71);
/* oklch */ color: oklch(23.1% 0.092 274.0);
Tailwind
colors: {
  custom: {
    50: '#58527b',
    500: '#121547',
    950: '#000000',
  },
}
SCSS
$custom: #121547;
$custom-light: #58527b;
$custom-dark: #000000;
JSON
{
  "hex": "#121547",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 236.604,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23089,
    "c": 0.09178,
    "h": 274
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#121547
secondary
#807C35
accent
#DA45E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121547

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

Preview Lab → · Contrast checker → · Palette generator →

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