#121D3D#121D3D

#121D3D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.063 H 267.3°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#121D3D
RGBrgb(18, 29, 61)
HSLhsl(225, 54%, 15%)
HSVhsv(225, 70%, 24%)
CMYKcmyk(70.5%, 52.5%, 0%, 76.1%)
CIE-LABlab(11.58, 7.39, -22.07)
CIE-LCHlch(11.58, 23.27, 288.51°)
OKLaboklab(24.04% -0.003 -0.063)
OKLCHoklch(24.04% 0.063 267.3)
XYZxyz(1.5308, 1.3441, 4.5927)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D3D #3D3212
analogous
#12323D #121D3D #1C123D
triadic
#121D3D #3D121D #1D3D12
tetradic
#121D3D #3D1232 #3D3212 #123D1C
square
#121D3D #3D1232 #3D3212 #123D1C
split-complementary
#121D3D #3D1C12 #323D12
monochromatic
#070B18 #070B18 #121D3D #20336C #2E4A9C

Accessibility & contrast

On white

16.55
#121D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D3D
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D3D#FFFFFF#000000##FFFFFF
##121D3D1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213E
Deuteranopia (green-blind)
#071D3C
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121d3d;
/* rgb */ color: rgb(18, 29, 61);
/* oklch */ color: oklch(24.0% 0.063 267.3);
Tailwind
colors: {
  custom: {
    50: '#555873',
    500: '#121d3d',
    950: '#000000',
  },
}
SCSS
$custom: #121d3d;
$custom-light: #555873;
$custom-dark: #000000;
JSON
{
  "hex": "#121d3d",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 224.651,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24039,
    "c": 0.06307,
    "h": 267.3
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#121D3D
secondary
#766535
accent
#B84ADE
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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