#121473#121473

#121473 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.154 H 269.9°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#121473
RGBrgb(18, 20, 115)
HSLhsl(239, 73%, 26%)
HSVhsv(239, 84%, 45%)
CMYKcmyk(84.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(14.77, 35.18, -53.33)
CIE-LCHlch(14.77, 63.89, 303.41°)
OKLaboklab(28.04% -0.0002 -0.1545)
OKLCHoklch(28.04% 0.154 269.9)
XYZxyz(3.5931, 1.8663, 16.3872)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121473 #737112
analogous
#124473 #121473 #401273
triadic
#121473 #731214 #147312
tetradic
#121473 #731244 #737112 #127340
square
#121473 #731244 #737112 #127340
split-complementary
#121473 #734012 #447312
monochromatic
#04051A #0A0B3E #121473 #1A1DA8 #2327DD

Accessibility & contrast

On white

15.29
#121473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121473
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121473#FFFFFF#000000##FFFFFF
##1214731.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121473;
/* rgb */ color: rgb(18, 20, 115);
/* oklch */ color: oklch(28.0% 0.154 269.9);
Tailwind
colors: {
  custom: {
    50: '#65549c',
    500: '#121473',
    950: '#000000',
  },
}
SCSS
$custom: #121473;
$custom-light: #65549c;
$custom-dark: #000000;
JSON
{
  "hex": "#121473",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 238.763,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28038,
    "c": 0.15446,
    "h": 269.9
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#121473
secondary
#AAA737
accent
#EC38F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121473

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

Preview Lab → · Contrast checker → · Palette generator →

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