#121C4D#121C4D

#121C4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.091 H 269.9°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#121C4D
RGBrgb(18, 28, 77)
HSLhsl(230, 62%, 19%)
HSVhsv(230, 77%, 30%)
CMYKcmyk(76.6%, 63.6%, 0%, 69.8%)
CIE-LABlab(12.57, 14.96, -31.62)
CIE-LCHlch(12.57, 34.98, 295.32°)
OKLaboklab(25.21% -0.0002 -0.0911)
OKLCHoklch(25.21% 0.091 269.9)
XYZxyz(2.0038, 1.4947, 7.2026)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C4D #4D4312
analogous
#12394D #121C4D #25124D
triadic
#121C4D #4D121C #1C4D12
tetradic
#121C4D #4D1239 #4D4312 #124D25
square
#121C4D #4D1239 #4D4312 #124D25
split-complementary
#121C4D #4D2512 #394D12
monochromatic
#060919 #060A1B #121C4D #1E2E7F #2940B0

Accessibility & contrast

On white

16.17
#121C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C4D
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C4D#FFFFFF#000000##FFFFFF
##121C4D1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121c4d;
/* rgb */ color: rgb(18, 28, 77);
/* oklch */ color: oklch(25.2% 0.091 269.9);
Tailwind
colors: {
  custom: {
    50: '#59577f',
    500: '#121c4d',
    950: '#000000',
  },
}
SCSS
$custom: #121c4d;
$custom-light: #59577f;
$custom-dark: #000000;
JSON
{
  "hex": "#121c4d",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 229.831,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25207,
    "c": 0.09112,
    "h": 269.9
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#121C4D
secondary
#867835
accent
#CA43E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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