#121D39#121D39

#121D39 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.7% C 0.056 H 266.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#121D39
RGBrgb(18, 29, 57)
HSLhsl(223, 52%, 15%)
HSVhsv(223, 68%, 22%)
CMYKcmyk(68.4%, 49.1%, 0%, 77.6%)
CIE-LABlab(11.29, 5.71, -19.68)
CIE-LCHlch(11.29, 20.49, 286.17°)
OKLaboklab(23.73% -0.0038 -0.056)
OKLCHoklch(23.73% 0.056 266.1)
XYZxyz(1.4271, 1.3026, 4.0463)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D39 #392E12
analogous
#123139 #121D39 #1B1239
triadic
#121D39 #39121D #1D3912
tetradic
#121D39 #391231 #392E12 #12391B
square
#121D39 #391231 #392E12 #12391B
split-complementary
#121D39 #391B12 #313912
monochromatic
#070C17 #070C17 #121D39 #213568 #2F4C96

Accessibility & contrast

On white

16.66
#121D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D39
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D39#FFFFFF#000000##FFFFFF
##121D391.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11203A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d39;
/* rgb */ color: rgb(18, 29, 57);
/* oklch */ color: oklch(23.7% 0.056 266.1);
Tailwind
colors: {
  custom: {
    50: '#54586f',
    500: '#121d39',
    950: '#000000',
  },
}
SCSS
$custom: #121d39;
$custom-light: #54586f;
$custom-dark: #000000;
JSON
{
  "hex": "#121d39",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 223.077,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23726,
    "c": 0.05613,
    "h": 266.1
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#121D39
secondary
#726135
accent
#B34CDB
background
#F5F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121D39

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

Preview Lab → · Contrast checker → · Palette generator →

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