#121656#121656

#121656 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.113 H 272.1°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#121656
RGBrgb(18, 22, 86)
HSLhsl(236, 65%, 20%)
HSVhsv(236, 79%, 34%)
CMYKcmyk(79.1%, 74.4%, 0%, 66.3%)
CIE-LABlab(11.78, 23.07, -39.06)
CIE-LCHlch(11.78, 45.36, 300.57°)
OKLaboklab(24.9% 0.0041 -0.113)
OKLCHoklch(24.9% 0.113 272.1)
XYZxyz(2.2155, 1.3741, 8.9508)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121656 #565212
analogous
#123856 #121656 #301256
triadic
#121656 #561216 #165612
tetradic
#121656 #561238 #565212 #125630
square
#121656 #561238 #565212 #125630
split-complementary
#121656 #563012 #385612
monochromatic
#050619 #070923 #121656 #1D2389 #2730BB

Accessibility & contrast

On white

16.47
#121656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121656
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121656#FFFFFF#000000##FFFFFF
##1216561.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121656;
/* rgb */ color: rgb(18, 22, 86);
/* oklch */ color: oklch(24.9% 0.113 272.1);
Tailwind
colors: {
  custom: {
    50: '#5c5386',
    500: '#121656',
    950: '#000000',
  },
}
SCSS
$custom: #121656;
$custom-light: #5c5386;
$custom-dark: #000000;
JSON
{
  "hex": "#121656",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 236.471,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24902,
    "c": 0.11304,
    "h": 272.1
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#121656
secondary
#8F8935
accent
#DE3FE8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121656

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

Preview Lab → · Contrast checker → · Palette generator →

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