#121B48#121B48

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

Color values

HEX#121B48
RGBrgb(18, 27, 72)
HSLhsl(230, 60%, 18%)
HSVhsv(230, 75%, 28%)
CMYKcmyk(75%, 62.5%, 0%, 71.8%)
CIE-LABlab(11.83, 13.60, -29.38)
CIE-LCHlch(11.83, 32.38, 294.84°)
OKLaboklab(24.51% 0.0006 -0.0846)
OKLCHoklch(24.51% 0.085 270.4)
XYZxyz(1.8107, 1.3802, 6.3006)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B48 #483F12
analogous
#123648 #121B48 #241248
triadic
#121B48 #48121B #1B4812
tetradic
#121B48 #481236 #483F12 #124824
square
#121B48 #481236 #483F12 #124824
split-complementary
#121B48 #482412 #364812
monochromatic
#060918 #060918 #121B48 #1E2D79 #2A40AA

Accessibility & contrast

On white

16.46
#121B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B48
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B48#FFFFFF#000000##FFFFFF
##121B481.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121b48;
/* rgb */ color: rgb(18, 27, 72);
/* oklch */ color: oklch(24.5% 0.085 270.4);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#121b48',
    950: '#000000',
  },
}
SCSS
$custom: #121b48;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#121b48",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 230,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24507,
    "c": 0.08456,
    "h": 270.4
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#121B48
secondary
#817435
accent
#C945E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121B48

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

Preview Lab → · Contrast checker → · Palette generator →

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