#121B2D#121B2D

#121B2D is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.3% C 0.038 H 263.4°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#121B2D
RGBrgb(18, 27, 45)
HSLhsl(220, 43%, 12%)
HSVhsv(220, 60%, 18%)
CMYKcmyk(60%, 40%, 0%, 82.4%)
CIE-LABlab(9.81, 2.34, -13.35)
CIE-LCHlch(9.81, 13.56, 279.95°)
OKLaboklab(22.33% -0.0044 -0.0375)
OKLCHoklch(22.33% 0.038 263.4)
XYZxyz(1.1149, 1.1019, 2.6360)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B2D #2D2412
analogous
#12292D #121B2D #17122D
triadic
#121B2D #2D121B #1B2D12
tetradic
#121B2D #2D1229 #2D2412 #122D17
square
#121B2D #2D1229 #2D2412 #122D17
split-complementary
#121B2D #2D1712 #292D12
monochromatic
#090D16 #090D16 #121B2D #233559 #354F84

Accessibility & contrast

On white

17.21
#121B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B2D
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B2D#FFFFFF#000000##FFFFFF
##121B2D1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#071F21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121b2d;
/* rgb */ color: rgb(18, 27, 45);
/* oklch */ color: oklch(22.3% 0.038 263.4);
Tailwind
colors: {
  custom: {
    50: '#525766',
    500: '#121b2d',
    950: '#000000',
  },
}
SCSS
$custom: #121b2d;
$custom-light: #525766;
$custom-dark: #000000;
JSON
{
  "hex": "#121b2d",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 220,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22326,
    "c": 0.03779,
    "h": 263.4
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#121B2D
secondary
#655536
accent
#A955D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #121B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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