#121644#121644

#121644 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.086 H 273.8°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#121644
RGBrgb(18, 22, 68)
HSLhsl(235, 58%, 17%)
HSVhsv(235, 74%, 27%)
CMYKcmyk(73.5%, 67.6%, 0%, 73.3%)
CIE-LABlab(9.95, 15.74, -29.64)
CIE-LCHlch(9.95, 33.56, 297.97°)
OKLaboklab(23% 0.0056 -0.0854)
OKLCHoklch(23% 0.086 273.8)
XYZxyz(1.5794, 1.1196, 5.6006)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121644 #444012
analogous
#122F44 #121644 #271244
triadic
#121644 #441216 #164412
tetradic
#121644 #44122F #444012 #124427
square
#121644 #44122F #444012 #124427
split-complementary
#121644 #442712 #2F4412
monochromatic
#060818 #060818 #121644 #1F2674 #2C35A5

Accessibility & contrast

On white

17.16
#121644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121644
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121644#FFFFFF#000000##FFFFFF
##1216441.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#001943
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121644;
/* rgb */ color: rgb(18, 22, 68);
/* oklch */ color: oklch(23.0% 0.086 273.8);
Tailwind
colors: {
  custom: {
    50: '#575378',
    500: '#121644',
    950: '#000000',
  },
}
SCSS
$custom: #121644;
$custom-light: #575378;
$custom-dark: #000000;
JSON
{
  "hex": "#121644",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 235.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22998,
    "c": 0.08555,
    "h": 273.8
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#121644
secondary
#7D7735
accent
#D546E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #121644

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

Preview Lab → · Contrast checker → · Palette generator →

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