#121B4B#121B4B

#121B4B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.089 H 270.4°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#121B4B
RGBrgb(18, 27, 75)
HSLhsl(231, 61%, 18%)
HSVhsv(231, 76%, 29%)
CMYKcmyk(76%, 64%, 0%, 70.6%)
CIE-LABlab(12.09, 14.87, -31.03)
CIE-LCHlch(12.09, 34.41, 295.61°)
OKLaboklab(24.79% 0.0007 -0.0894)
OKLCHoklch(24.79% 0.089 270.4)
XYZxyz(1.9110, 1.4203, 6.8287)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B4B #4B4212
analogous
#12374B #121B4B #25124B
triadic
#121B4B #4B121B #1B4B12
tetradic
#121B4B #4B1237 #4B4212 #124B25
square
#121B4B #4B1237 #4B4212 #124B25
split-complementary
#121B4B #4B2512 #374B12
monochromatic
#060919 #06091A #121B4B #1E2D7C #2A3FAE

Accessibility & contrast

On white

16.36
#121B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B4B
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B4B#FFFFFF#000000##FFFFFF
##121B4B1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121b4b;
/* rgb */ color: rgb(18, 27, 75);
/* oklch */ color: oklch(24.8% 0.089 270.4);
Tailwind
colors: {
  custom: {
    50: '#59577e',
    500: '#121b4b',
    950: '#000000',
  },
}
SCSS
$custom: #121b4b;
$custom-light: #59577e;
$custom-dark: #000000;
JSON
{
  "hex": "#121b4b",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 230.526,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24791,
    "c": 0.08939,
    "h": 270.4
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#121B4B
secondary
#847835
accent
#CB43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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