#121659#121659

#121659 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.117 H 271.8°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#121659
RGBrgb(18, 22, 89)
HSLhsl(237, 66%, 21%)
HSVhsv(237, 80%, 35%)
CMYKcmyk(79.8%, 75.3%, 0%, 65.1%)
CIE-LABlab(12.11, 24.26, -40.55)
CIE-LCHlch(12.11, 47.25, 300.89°)
OKLaboklab(25.24% 0.0037 -0.1173)
OKLCHoklch(25.24% 0.117 271.8)
XYZxyz(2.3389, 1.4234, 9.6007)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121659 #595512
analogous
#123959 #121659 #311259
triadic
#121659 #591216 #165912
tetradic
#121659 #591239 #595512 #125931
square
#121659 #591239 #595512 #125931
split-complementary
#121659 #593112 #395912
monochromatic
#050619 #080926 #121659 #1C238C #272FBF

Accessibility & contrast

On white

16.34
#121659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121659
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121659#FFFFFF#000000##FFFFFF
##1216591.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001C58
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121659;
/* rgb */ color: rgb(18, 22, 89);
/* oklch */ color: oklch(25.2% 0.117 271.8);
Tailwind
colors: {
  custom: {
    50: '#5d5389',
    500: '#121659',
    950: '#000000',
  },
}
SCSS
$custom: #121659;
$custom-light: #5d5389;
$custom-dark: #000000;
JSON
{
  "hex": "#121659",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 236.62,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25239,
    "c": 0.11738,
    "h": 271.8
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#121659
secondary
#928C35
accent
#E03FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121659

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

Preview Lab → · Contrast checker → · Palette generator →

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