#121A4B#121A4B

#121A4B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.091 H 271.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#121A4B
RGBrgb(18, 26, 75)
HSLhsl(232, 61%, 18%)
HSVhsv(232, 76%, 29%)
CMYKcmyk(76%, 65.3%, 0%, 70.6%)
CIE-LABlab(11.79, 15.63, -31.52)
CIE-LCHlch(11.79, 35.18, 296.38°)
OKLaboklab(24.57% 0.0016 -0.0908)
OKLCHoklch(24.57% 0.091 271)
XYZxyz(1.8884, 1.3752, 6.8212)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A4B #4B4312
analogous
#12364B #121A4B #26124B
triadic
#121A4B #4B121A #1A4B12
tetradic
#121A4B #4B1236 #4B4312 #124B26
square
#121A4B #4B1236 #4B4312 #124B26
split-complementary
#121A4B #4B2612 #364B12
monochromatic
#060919 #06091A #121A4B #1E2B7C #2A3CAE

Accessibility & contrast

On white

16.47
#121A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A4B
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A4B#FFFFFF#000000##FFFFFF
##121A4B1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121a4b;
/* rgb */ color: rgb(18, 26, 75);
/* oklch */ color: oklch(24.6% 0.091 271.0);
Tailwind
colors: {
  custom: {
    50: '#59567e',
    500: '#121a4b',
    950: '#000000',
  },
}
SCSS
$custom: #121a4b;
$custom-light: #59567e;
$custom-dark: #000000;
JSON
{
  "hex": "#121a4b",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 231.579,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24567,
    "c": 0.09085,
    "h": 271
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#121A4B
secondary
#847935
accent
#CE43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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