#121654#121654

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

Color values

HEX#121654
RGBrgb(18, 22, 84)
HSLhsl(236, 65%, 20%)
HSVhsv(236, 79%, 33%)
CMYKcmyk(78.6%, 73.8%, 0%, 67.1%)
CIE-LABlab(11.57, 22.27, -38.05)
CIE-LCHlch(11.57, 44.09, 300.34°)
OKLaboklab(24.68% 0.0044 -0.11)
OKLCHoklch(24.68% 0.11 272.3)
XYZxyz(2.1361, 1.3423, 8.5323)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121654 #545012
analogous
#123754 #121654 #2F1254
triadic
#121654 #541216 #165412
tetradic
#121654 #541237 #545012 #12542F
square
#121654 #541237 #545012 #12542F
split-complementary
#121654 #542F12 #375412
monochromatic
#050719 #070922 #121654 #1D2386 #2830B9

Accessibility & contrast

On white

16.55
#121654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121654
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121654#FFFFFF#000000##FFFFFF
##1216541.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121654;
/* rgb */ color: rgb(18, 22, 84);
/* oklch */ color: oklch(24.7% 0.110 272.3);
Tailwind
colors: {
  custom: {
    50: '#5c5385',
    500: '#121654',
    950: '#000000',
  },
}
SCSS
$custom: #121654;
$custom-light: #5c5385;
$custom-dark: #000000;
JSON
{
  "hex": "#121654",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 236.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.2468,
    "c": 0.11013,
    "h": 272.3
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#121654
secondary
#8D8735
accent
#DE40E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121654

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

Preview Lab → · Contrast checker → · Palette generator →

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