#121D3F#121D3F

#121D3F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.2% C 0.067 H 267.7°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#121D3F
RGBrgb(18, 29, 63)
HSLhsl(225, 56%, 16%)
HSVhsv(225, 71%, 25%)
CMYKcmyk(71.4%, 54%, 0%, 75.3%)
CIE-LABlab(11.73, 8.23, -23.24)
CIE-LCHlch(11.73, 24.66, 289.51°)
OKLaboklab(24.2% -0.0026 -0.0664)
OKLCHoklch(24.2% 0.067 267.7)
XYZxyz(1.5857, 1.3661, 4.8818)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D3F #3F3412
analogous
#12333F #121D3F #1D123F
triadic
#121D3F #3F121D #1D3F12
tetradic
#121D3F #3F1233 #3F3412 #123F1D
square
#121D3F #3F1233 #3F3412 #123F1D
split-complementary
#121D3F #3F1D12 #333F12
monochromatic
#070B18 #070B18 #121D3F #20336F #2D499E

Accessibility & contrast

On white

16.49
#121D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D3F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D3F#FFFFFF#000000##FFFFFF
##121D3F1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2140
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121d3f;
/* rgb */ color: rgb(18, 29, 63);
/* oklch */ color: oklch(24.2% 0.067 267.7);
Tailwind
colors: {
  custom: {
    50: '#555874',
    500: '#121d3f',
    950: '#000000',
  },
}
SCSS
$custom: #121d3f;
$custom-light: #555874;
$custom-dark: #000000;
JSON
{
  "hex": "#121d3f",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 225.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24201,
    "c": 0.0665,
    "h": 267.7
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#121D3F
secondary
#786835
accent
#BA49DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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