#121380#121380

#121380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.171 H 269.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#121380
RGBrgb(18, 19, 128)
HSLhsl(239, 75%, 29%)
HSVhsv(239, 86%, 50%)
CMYKcmyk(85.9%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.27, 40.14, -59.19)
CIE-LCHlch(16.27, 71.51, 304.14°)
OKLaboklab(29.56% -0.0027 -0.1714)
OKLCHoklch(29.56% 0.171 269.1)
XYZxyz(4.3773, 2.1523, 20.6026)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121380 #807F12
analogous
#124A80 #121380 #481280
triadic
#121380 #801213 #138012
tetradic
#121380 #80124A #807F12 #128048
square
#121380 #80124A #807F12 #128048
split-complementary
#121380 #804812 #4A8012
monochromatic
#04041B #0A0B4A #121380 #1A1BB6 #2B2DE1

Accessibility & contrast

On white

14.68
#121380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#121380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121380
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121380#FFFFFF#000000##FFFFFF
##1213801.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00227E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121380;
/* rgb */ color: rgb(18, 19, 128);
/* oklch */ color: oklch(29.6% 0.171 269.1);
Tailwind
colors: {
  custom: {
    50: '#6954a6',
    500: '#121380',
    950: '#000000',
  },
}
SCSS
$custom: #121380;
$custom-light: #6954a6;
$custom-dark: #000000;
JSON
{
  "hex": "#121380",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 239.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29564,
    "c": 0.17139,
    "h": 269.1
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#121380
secondary
#B6B438
accent
#F036F2
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #121380

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

Preview Lab → · Contrast checker → · Palette generator →

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