#121D4F#121D4F

#121D4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.093 H 269.3°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#121D4F
RGBrgb(18, 29, 79)
HSLhsl(229, 63%, 19%)
HSVhsv(229, 77%, 31%)
CMYKcmyk(77.2%, 63.3%, 0%, 69%)
CIE-LABlab(13.06, 15.05, -32.21)
CIE-LCHlch(13.06, 35.55, 295.05°)
OKLaboklab(25.62% -0.0011 -0.0928)
OKLCHoklch(25.62% 0.093 269.3)
XYZxyz(2.0996, 1.5716, 7.5883)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D4F #4F4412
analogous
#123C4F #121D4F #26124F
triadic
#121D4F #4F121D #1D4F12
tetradic
#121D4F #4F123C #4F4412 #124F26
square
#121D4F #4F123C #4F4412 #124F26
split-complementary
#121D4F #4F2612 #3C4F12
monochromatic
#060919 #070B1D #121D4F #1D2F81 #2942B3

Accessibility & contrast

On white

15.98
#121D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D4F
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D4F#FFFFFF#000000##FFFFFF
##121D4F1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121d4f;
/* rgb */ color: rgb(18, 29, 79);
/* oklch */ color: oklch(25.6% 0.093 269.3);
Tailwind
colors: {
  custom: {
    50: '#5a5881',
    500: '#121d4f',
    950: '#000000',
  },
}
SCSS
$custom: #121d4f;
$custom-light: #5a5881;
$custom-dark: #000000;
JSON
{
  "hex": "#121d4f",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 229.18,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25624,
    "c": 0.09284,
    "h": 269.3
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#121D4F
secondary
#887935
accent
#C842E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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