#121371#121371

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

Color values

HEX#121371
RGBrgb(18, 19, 113)
HSLhsl(239, 73%, 26%)
HSVhsv(239, 84%, 44%)
CMYKcmyk(84.1%, 83.2%, 0%, 55.7%)
CIE-LABlab(14.32, 35.04, -52.78)
CIE-LCHlch(14.32, 63.35, 303.58°)
OKLaboklab(27.65% 0.0005 -0.1528)
OKLCHoklch(27.65% 0.153 270.2)
XYZxyz(3.4619, 1.7862, 15.7819)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121371 #717012
analogous
#124271 #121371 #401271
triadic
#121371 #711213 #137112
tetradic
#121371 #711242 #717012 #127140
square
#121371 #711242 #717012 #127140
split-complementary
#121371 #714012 #427112
monochromatic
#04041A #0A0A3C #121371 #1A1CA6 #2325DB

Accessibility & contrast

On white

15.47
#121371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121371
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121371#FFFFFF#000000##FFFFFF
##1213711.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121371;
/* rgb */ color: rgb(18, 19, 113);
/* oklch */ color: oklch(27.7% 0.153 270.2);
Tailwind
colors: {
  custom: {
    50: '#65539b',
    500: '#121371',
    950: '#000000',
  },
}
SCSS
$custom: #121371;
$custom-light: #65539b;
$custom-dark: #000000;
JSON
{
  "hex": "#121371",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 239.368,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27652,
    "c": 0.15283,
    "h": 270.2
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#121371
secondary
#A8A737
accent
#ED39EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121371

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

Preview Lab → · Contrast checker → · Palette generator →

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