#121D3C#121D3C

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

Color values

HEX#121D3C
RGBrgb(18, 29, 60)
HSLhsl(224, 54%, 15%)
HSVhsv(224, 70%, 24%)
CMYKcmyk(70%, 51.7%, 0%, 76.5%)
CIE-LABlab(11.51, 6.97, -21.48)
CIE-LCHlch(11.51, 22.58, 287.98°)
OKLaboklab(23.96% -0.0032 -0.0613)
OKLCHoklch(23.96% 0.061 267)
XYZxyz(1.5042, 1.3334, 4.4522)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D3C #3C3112
analogous
#12323C #121D3C #1C123C
triadic
#121D3C #3C121D #1D3C12
tetradic
#121D3C #3C1232 #3C3112 #123C1C
square
#121D3C #3C1232 #3C3112 #123C1C
split-complementary
#121D3C #3C1C12 #323C12
monochromatic
#070B18 #070B18 #121D3C #20346B #2E4B9A

Accessibility & contrast

On white

16.58
#121D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D3C
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D3C#FFFFFF#000000##FFFFFF
##121D3C1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213D
Deuteranopia (green-blind)
#081D3B
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d3c;
/* rgb */ color: rgb(18, 29, 60);
/* oklch */ color: oklch(24.0% 0.061 267.0);
Tailwind
colors: {
  custom: {
    50: '#555872',
    500: '#121d3c',
    950: '#000000',
  },
}
SCSS
$custom: #121d3c;
$custom-light: #555872;
$custom-dark: #000000;
JSON
{
  "hex": "#121d3c",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 224.286,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23959,
    "c": 0.06135,
    "h": 267
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#121D3C
secondary
#756435
accent
#B74BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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