#121459#121459

#121459 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.9% C 0.120 H 272.3°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#121459
RGBrgb(18, 20, 89)
HSLhsl(238, 66%, 21%)
HSVhsv(238, 80%, 35%)
CMYKcmyk(79.8%, 77.5%, 0%, 65.1%)
CIE-LABlab(11.62, 25.62, -41.36)
CIE-LCHlch(11.62, 48.65, 301.77°)
OKLaboklab(24.89% 0.0049 -0.1197)
OKLCHoklch(24.89% 0.12 272.3)
XYZxyz(2.3022, 1.3499, 9.5885)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121459 #595712
analogous
#123759 #121459 #331259
triadic
#121459 #591214 #145912
tetradic
#121459 #591237 #595712 #125933
square
#121459 #591237 #595712 #125933
split-complementary
#121459 #593312 #375912
monochromatic
#050619 #080926 #121459 #1C1F8C #272BBF

Accessibility & contrast

On white

16.54
#121459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121459
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121459#FFFFFF#000000##FFFFFF
##1214591.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001B58
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121459;
/* rgb */ color: rgb(18, 20, 89);
/* oklch */ color: oklch(24.9% 0.120 272.3);
Tailwind
colors: {
  custom: {
    50: '#5d5289',
    500: '#121459',
    950: '#000000',
  },
}
SCSS
$custom: #121459;
$custom-light: #5d5289;
$custom-dark: #000000;
JSON
{
  "hex": "#121459",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 238.31,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24885,
    "c": 0.11978,
    "h": 272.3
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#121459
secondary
#928F35
accent
#E43FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121459

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

Preview Lab → · Contrast checker → · Palette generator →

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