#121D3E#121D3E

#121D3E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.1% C 0.065 H 267.5°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#121D3E
RGBrgb(18, 29, 62)
HSLhsl(225, 55%, 16%)
HSVhsv(225, 71%, 24%)
CMYKcmyk(71%, 53.2%, 0%, 75.7%)
CIE-LABlab(11.65, 7.81, -22.66)
CIE-LCHlch(11.65, 23.96, 289.02°)
OKLaboklab(24.12% -0.0028 -0.0647)
OKLCHoklch(24.12% 0.065 267.5)
XYZxyz(1.5580, 1.3550, 4.7359)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D3E #3E3312
analogous
#12333E #121D3E #1D123E
triadic
#121D3E #3E121D #1D3E12
tetradic
#121D3E #3E1233 #3E3312 #123E1D
square
#121D3E #3E1233 #3E3312 #123E1D
split-complementary
#121D3E #3E1D12 #333E12
monochromatic
#070B18 #070B18 #121D3E #20336D #2E499D

Accessibility & contrast

On white

16.52
#121D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D3E
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D3E#FFFFFF#000000##FFFFFF
##121D3E1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#061D3D
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121d3e;
/* rgb */ color: rgb(18, 29, 62);
/* oklch */ color: oklch(24.1% 0.065 267.5);
Tailwind
colors: {
  custom: {
    50: '#555873',
    500: '#121d3e',
    950: '#000000',
  },
}
SCSS
$custom: #121d3e;
$custom-light: #555873;
$custom-dark: #000000;
JSON
{
  "hex": "#121d3e",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 225,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2412,
    "c": 0.06479,
    "h": 267.5
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#121D3E
secondary
#776635
accent
#B949DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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