#121A4F#121A4F

#121A4F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.097 H 270.9°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#121A4F
RGBrgb(18, 26, 79)
HSLhsl(232, 63%, 19%)
HSVhsv(232, 77%, 31%)
CMYKcmyk(77.2%, 67.1%, 0%, 69%)
CIE-LABlab(12.17, 17.31, -33.66)
CIE-LCHlch(12.17, 37.85, 297.22°)
OKLaboklab(24.96% 0.0016 -0.0971)
OKLCHoklch(24.96% 0.097 270.9)
XYZxyz(2.0297, 1.4317, 7.5650)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A4F #4F4712
analogous
#12394F #121A4F #29124F
triadic
#121A4F #4F121A #1A4F12
tetradic
#121A4F #4F1239 #4F4712 #124F29
square
#121A4F #4F1239 #4F4712 #124F29
split-complementary
#121A4F #4F2912 #394F12
monochromatic
#060819 #070A1D #121A4F #1D2A81 #293BB3

Accessibility & contrast

On white

16.32
#121A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A4F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A4F#FFFFFF#000000##FFFFFF
##121A4F1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121a4f;
/* rgb */ color: rgb(18, 26, 79);
/* oklch */ color: oklch(25.0% 0.097 270.9);
Tailwind
colors: {
  custom: {
    50: '#5a5681',
    500: '#121a4f',
    950: '#000000',
  },
}
SCSS
$custom: #121a4f;
$custom-light: #5a5681;
$custom-dark: #000000;
JSON
{
  "hex": "#121a4f",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 232.131,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24963,
    "c": 0.09714,
    "h": 270.9
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#121A4F
secondary
#887D35
accent
#D042E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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