#121B47#121B47

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

Color values

HEX#121B47
RGBrgb(18, 27, 71)
HSLhsl(230, 60%, 17%)
HSVhsv(230, 75%, 28%)
CMYKcmyk(74.6%, 62%, 0%, 72.2%)
CIE-LABlab(11.74, 13.18, -28.83)
CIE-LCHlch(11.74, 31.70, 294.57°)
OKLaboklab(24.41% 0.0005 -0.0829)
OKLCHoklch(24.41% 0.083 270.4)
XYZxyz(1.7783, 1.3672, 6.1302)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B47 #473E12
analogous
#123647 #121B47 #231247
triadic
#121B47 #47121B #1B4712
tetradic
#121B47 #471236 #473E12 #124723
square
#121B47 #471236 #473E12 #124723
split-complementary
#121B47 #472312 #364712
monochromatic
#060918 #060918 #121B47 #1E2E78 #2B40A9

Accessibility & contrast

On white

16.49
#121B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B47
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B47#FFFFFF#000000##FFFFFF
##121B471.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121b47;
/* rgb */ color: rgb(18, 27, 71);
/* oklch */ color: oklch(24.4% 0.083 270.4);
Tailwind
colors: {
  custom: {
    50: '#58577b',
    500: '#121b47',
    950: '#000000',
  },
}
SCSS
$custom: #121b47;
$custom-light: #58577b;
$custom-dark: #000000;
JSON
{
  "hex": "#121b47",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 229.811,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24414,
    "c": 0.08293,
    "h": 270.4
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#121B47
secondary
#807335
accent
#C845E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121B47

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

Preview Lab → · Contrast checker → · Palette generator →

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