#121373#121373

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

Color values

HEX#121373
RGBrgb(18, 19, 115)
HSLhsl(239, 73%, 26%)
HSVhsv(239, 84%, 45%)
CMYKcmyk(84.3%, 83.5%, 0%, 54.9%)
CIE-LABlab(14.58, 35.74, -53.65)
CIE-LCHlch(14.58, 64.46, 303.67°)
OKLaboklab(27.91% 0.0001 -0.1554)
OKLCHoklch(27.91% 0.155 270)
XYZxyz(3.5758, 1.8317, 16.3814)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121373 #737212
analogous
#124373 #121373 #411273
triadic
#121373 #731213 #137312
tetradic
#121373 #731243 #737212 #127341
square
#121373 #731243 #737212 #127341
split-complementary
#121373 #734112 #437312
monochromatic
#04041A #0A0A3E #121373 #1A1CA8 #2325DD

Accessibility & contrast

On white

15.37
#121373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121373
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121373#FFFFFF#000000##FFFFFF
##1213731.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121373;
/* rgb */ color: rgb(18, 19, 115);
/* oklch */ color: oklch(27.9% 0.155 270.0);
Tailwind
colors: {
  custom: {
    50: '#65539c',
    500: '#121373',
    950: '#000000',
  },
}
SCSS
$custom: #121373;
$custom-light: #65539c;
$custom-dark: #000000;
JSON
{
  "hex": "#121373",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 239.381,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27905,
    "c": 0.15536,
    "h": 270
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#121373
secondary
#AAA937
accent
#EE38F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121373

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

Preview Lab → · Contrast checker → · Palette generator →

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