#121472#121472

#121472 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.153 H 270.0°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#121472
RGBrgb(18, 20, 114)
HSLhsl(239, 73%, 26%)
HSVhsv(239, 84%, 45%)
CMYKcmyk(84.2%, 82.5%, 0%, 55.3%)
CIE-LABlab(14.64, 34.83, -52.90)
CIE-LCHlch(14.64, 63.33, 303.36°)
OKLaboklab(27.91% 0 -0.1532)
OKLCHoklch(27.91% 0.153 270)
XYZxyz(3.5358, 1.8434, 16.0858)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121472 #727012
analogous
#124472 #121472 #401272
triadic
#121472 #721214 #147212
tetradic
#121472 #721244 #727012 #127240
square
#121472 #721244 #727012 #127240
split-complementary
#121472 #724012 #447212
monochromatic
#04051A #0A0B3D #121472 #1A1DA7 #2327DC

Accessibility & contrast

On white

15.34
#121472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121472
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121472#FFFFFF#000000##FFFFFF
##1214721.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121472;
/* rgb */ color: rgb(18, 20, 114);
/* oklch */ color: oklch(27.9% 0.153 270.0);
Tailwind
colors: {
  custom: {
    50: '#65539c',
    500: '#121472',
    950: '#000000',
  },
}
SCSS
$custom: #121472;
$custom-light: #65539c;
$custom-dark: #000000;
JSON
{
  "hex": "#121472",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 238.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27913,
    "c": 0.15319,
    "h": 270
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#121472
secondary
#A9A637
accent
#EC38EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121472

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

Preview Lab → · Contrast checker → · Palette generator →

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