#121A28#121A28

#121A28 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.7% C 0.030 H 261.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#121A28
RGBrgb(18, 26, 40)
HSLhsl(218, 38%, 11%)
HSVhsv(218, 55%, 16%)
CMYKcmyk(55%, 35%, 0%, 84.3%)
CIE-LABlab(9.16, 1.17, -10.69)
CIE-LCHlch(9.16, 10.75, 276.25°)
OKLaboklab(21.72% -0.0046 -0.0298)
OKLCHoklch(21.72% 0.03 261.3)
XYZxyz(1.0017, 1.0205, 2.1513)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A28 #282012
analogous
#122528 #121A28 #151228
triadic
#121A28 #28121A #1A2812
tetradic
#121A28 #281225 #282012 #122815
square
#121A28 #281225 #282012 #122815
split-complementary
#121A28 #281512 #252812
monochromatic
#090E15 #090E15 #121A28 #253552 #38517C

Accessibility & contrast

On white

17.44
#121A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A28
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A28#FFFFFF#000000##FFFFFF
##121A281.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#121928
Tritanopia (blue-blind)
#0A1D1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121a28;
/* rgb */ color: rgb(18, 26, 40);
/* oklch */ color: oklch(21.7% 0.030 261.3);
Tailwind
colors: {
  custom: {
    50: '#515662',
    500: '#121a28',
    950: '#000000',
  },
}
SCSS
$custom: #121a28;
$custom-light: #515662;
$custom-dark: #000000;
JSON
{
  "hex": "#121a28",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 218.182,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21723,
    "c": 0.03019,
    "h": 261.3
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#121A28
secondary
#5F5037
accent
#A45ACE
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#020305
muted
#787879

Preview Lab

Preview with #121A28

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

Preview Lab → · Contrast checker → · Palette generator →

#121A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva