#121354#121354

#121354 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.114 H 273.2°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#121354
RGBrgb(18, 19, 84)
HSLhsl(239, 65%, 20%)
HSVhsv(239, 79%, 33%)
CMYKcmyk(78.6%, 77.4%, 0%, 67.1%)
CIE-LABlab(10.81, 24.35, -39.31)
CIE-LCHlch(10.81, 46.24, 301.78°)
OKLaboklab(24.13% 0.0064 -0.1137)
OKLCHoklch(24.13% 0.114 273.2)
XYZxyz(2.0820, 1.2342, 8.5143)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121354 #545312
analogous
#123454 #121354 #321254
triadic
#121354 #541213 #135412
tetradic
#121354 #541234 #545312 #125432
square
#121354 #541234 #545312 #125432
split-complementary
#121354 #543212 #345412
monochromatic
#050619 #070822 #121354 #1D1E86 #282AB9

Accessibility & contrast

On white

16.84
#121354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121354
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121354#FFFFFF#000000##FFFFFF
##1213541.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121354;
/* rgb */ color: rgb(18, 19, 84);
/* oklch */ color: oklch(24.1% 0.114 273.2);
Tailwind
colors: {
  custom: {
    50: '#5c5185',
    500: '#121354',
    950: '#000000',
  },
}
SCSS
$custom: #121354;
$custom-light: #5c5185;
$custom-dark: #000000;
JSON
{
  "hex": "#121354",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 239.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.24132,
    "c": 0.11387,
    "h": 273.2
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#121354
secondary
#8D8B35
accent
#E540E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121354

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

Preview Lab → · Contrast checker → · Palette generator →

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