#121D3B#121D3B

#121D3B is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.9% C 0.060 H 266.7°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#121D3B
RGBrgb(18, 29, 59)
HSLhsl(224, 53%, 15%)
HSVhsv(224, 69%, 23%)
CMYKcmyk(69.5%, 50.8%, 0%, 76.9%)
CIE-LABlab(11.44, 6.54, -20.88)
CIE-LCHlch(11.44, 21.88, 287.40°)
OKLaboklab(23.88% -0.0034 -0.0595)
OKLCHoklch(23.88% 0.06 266.7)
XYZxyz(1.4780, 1.3230, 4.3143)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D3B #3B3012
analogous
#12323B #121D3B #1B123B
triadic
#121D3B #3B121D #1D3B12
tetradic
#121D3B #3B1232 #3B3012 #123B1B
square
#121D3B #3B1232 #3B3012 #123B1B
split-complementary
#121D3B #3B1B12 #323B12
monochromatic
#070C17 #070C17 #121D3B #20346A #2F4B99

Accessibility & contrast

On white

16.61
#121D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D3B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D3B#FFFFFF#000000##FFFFFF
##121D3B1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203C
Deuteranopia (green-blind)
#091D3A
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d3b;
/* rgb */ color: rgb(18, 29, 59);
/* oklch */ color: oklch(23.9% 0.060 266.7);
Tailwind
colors: {
  custom: {
    50: '#545871',
    500: '#121d3b',
    950: '#000000',
  },
}
SCSS
$custom: #121d3b;
$custom-light: #545871;
$custom-dark: #000000;
JSON
{
  "hex": "#121d3b",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 59
  },
  "hsl": {
    "h": 223.902,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2388,
    "c": 0.05962,
    "h": 266.7
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#121D3B
secondary
#746335
accent
#B64BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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