#121D3A#121D3A

#121D3A is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.058 H 266.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#121D3A
RGBrgb(18, 29, 58)
HSLhsl(224, 53%, 15%)
HSVhsv(224, 69%, 23%)
CMYKcmyk(69%, 50%, 0%, 77.3%)
CIE-LABlab(11.36, 6.12, -20.28)
CIE-LCHlch(11.36, 21.19, 286.80°)
OKLaboklab(23.8% -0.0036 -0.0578)
OKLCHoklch(23.8% 0.058 266.4)
XYZxyz(1.4523, 1.3127, 4.1790)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D3A #3A2F12
analogous
#12313A #121D3A #1B123A
triadic
#121D3A #3A121D #1D3A12
tetradic
#121D3A #3A1231 #3A2F12 #123A1B
square
#121D3A #3A1231 #3A2F12 #123A1B
split-complementary
#121D3A #3A1B12 #313A12
monochromatic
#070C17 #070C17 #121D3A #203469 #2F4C97

Accessibility & contrast

On white

16.63
#121D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D3A
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D3A#FFFFFF#000000##FFFFFF
##121D3A1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10203B
Deuteranopia (green-blind)
#0A1D39
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d3a;
/* rgb */ color: rgb(18, 29, 58);
/* oklch */ color: oklch(23.8% 0.058 266.4);
Tailwind
colors: {
  custom: {
    50: '#545870',
    500: '#121d3a',
    950: '#000000',
  },
}
SCSS
$custom: #121d3a;
$custom-light: #545870;
$custom-dark: #000000;
JSON
{
  "hex": "#121d3a",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 223.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23803,
    "c": 0.05788,
    "h": 266.4
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#121D3A
secondary
#736235
accent
#B44CDC
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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