#121641#121641

#121641 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.081 H 274.0°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#121641
RGBrgb(18, 22, 65)
HSLhsl(235, 57%, 16%)
HSVhsv(235, 72%, 25%)
CMYKcmyk(72.3%, 66.2%, 0%, 74.5%)
CIE-LABlab(9.67, 14.49, -27.98)
CIE-LCHlch(9.67, 31.51, 297.38°)
OKLaboklab(22.7% 0.0056 -0.0805)
OKLCHoklch(22.7% 0.081 274)
XYZxyz(1.4902, 1.0839, 5.1307)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121641 #413D12
analogous
#122E41 #121641 #261241
triadic
#121641 #411216 #164112
tetradic
#121641 #41122E #413D12 #124126
square
#121641 #41122E #413D12 #124126
split-complementary
#121641 #412612 #2E4112
monochromatic
#070818 #070818 #121641 #1F2671 #2D36A1

Accessibility & contrast

On white

17.26
#121641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121641
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121641#FFFFFF#000000##FFFFFF
##1216411.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121641;
/* rgb */ color: rgb(18, 22, 65);
/* oklch */ color: oklch(22.7% 0.081 274.0);
Tailwind
colors: {
  custom: {
    50: '#565276',
    500: '#121641',
    950: '#000000',
  },
}
SCSS
$custom: #121641;
$custom-light: #565276;
$custom-dark: #000000;
JSON
{
  "hex": "#121641",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 234.894,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22704,
    "c": 0.08069,
    "h": 274
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#121641
secondary
#7A7435
accent
#D348E0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #121641

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

Preview Lab → · Contrast checker → · Palette generator →

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