#121A2F#121A2F

#121A2F is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.2% C 0.043 H 267.1°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#121A2F
RGBrgb(18, 26, 47)
HSLhsl(223, 45%, 13%)
HSVhsv(223, 62%, 18%)
CMYKcmyk(61.7%, 44.7%, 0%, 81.6%)
CIE-LABlab(9.58, 3.91, -15.18)
CIE-LCHlch(9.58, 15.68, 284.45°)
OKLaboklab(22.19% -0.0022 -0.0429)
OKLCHoklch(22.19% 0.043 267.1)
XYZxyz(1.1318, 1.0725, 2.8362)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A2F #2F2712
analogous
#12282F #121A2F #18122F
triadic
#121A2F #2F121A #1A2F12
tetradic
#121A2F #2F1228 #2F2712 #122F18
square
#121A2F #2F1228 #2F2712 #122F18
split-complementary
#121A2F #2F1812 #282F12
monochromatic
#080C16 #080C16 #121A2F #23325B #344B88

Accessibility & contrast

On white

17.29
#121A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#121A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A2F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A2F#FFFFFF#000000##FFFFFF
##121A2F1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#0F192F
Tritanopia (blue-blind)
#061E22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121a2f;
/* rgb */ color: rgb(18, 26, 47);
/* oklch */ color: oklch(22.2% 0.043 267.1);
Tailwind
colors: {
  custom: {
    50: '#525667',
    500: '#121a2f',
    950: '#000000',
  },
}
SCSS
$custom: #121a2f;
$custom-light: #525667;
$custom-dark: #000000;
JSON
{
  "hex": "#121a2f",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 223.448,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22187,
    "c": 0.04291,
    "h": 267.1
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#121A2F
secondary
#675936
accent
#B153D4
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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