#121471#121471

#121471 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.152 H 270.1°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#121471
RGBrgb(18, 20, 113)
HSLhsl(239, 73%, 26%)
HSVhsv(239, 84%, 44%)
CMYKcmyk(84.1%, 82.3%, 0%, 55.7%)
CIE-LABlab(14.52, 34.48, -52.46)
CIE-LCHlch(14.52, 62.77, 303.32°)
OKLaboklab(27.79% 0.0002 -0.1519)
OKLCHoklch(27.79% 0.152 270.1)
XYZxyz(3.4792, 1.8208, 15.7877)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121471 #716F12
analogous
#124371 #121471 #3F1271
triadic
#121471 #711214 #147112
tetradic
#121471 #711243 #716F12 #12713F
square
#121471 #711243 #716F12 #12713F
split-complementary
#121471 #713F12 #437112
monochromatic
#04051A #0A0B3C #121471 #1A1DA6 #2327DB

Accessibility & contrast

On white

15.39
#121471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121471
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121471#FFFFFF#000000##FFFFFF
##1214711.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121471;
/* rgb */ color: rgb(18, 20, 113);
/* oklch */ color: oklch(27.8% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#65539b',
    500: '#121471',
    950: '#000000',
  },
}
SCSS
$custom: #121471;
$custom-light: #65539b;
$custom-dark: #000000;
JSON
{
  "hex": "#121471",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 238.737,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27788,
    "c": 0.15191,
    "h": 270.1
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#121471
secondary
#A8A637
accent
#EB39EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121471

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

Preview Lab → · Contrast checker → · Palette generator →

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