#121B46#121B46

#121B46 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.081 H 270.3°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#121B46
RGBrgb(18, 27, 70)
HSLhsl(230, 59%, 17%)
HSVhsv(230, 74%, 27%)
CMYKcmyk(74.3%, 61.4%, 0%, 72.5%)
CIE-LABlab(11.65, 12.75, -28.27)
CIE-LCHlch(11.65, 31.02, 294.28°)
OKLaboklab(24.32% 0.0005 -0.0813)
OKLCHoklch(24.32% 0.081 270.3)
XYZxyz(1.7465, 1.3545, 5.9626)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B46 #463D12
analogous
#123546 #121B46 #231246
triadic
#121B46 #46121B #1B4612
tetradic
#121B46 #461235 #463D12 #124623
square
#121B46 #461235 #463D12 #124623
split-complementary
#121B46 #462312 #354612
monochromatic
#060918 #060918 #121B46 #1F2E77 #2B41A7

Accessibility & contrast

On white

16.52
#121B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B46
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B46#FFFFFF#000000##FFFFFF
##121B461.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121b46;
/* rgb */ color: rgb(18, 27, 70);
/* oklch */ color: oklch(24.3% 0.081 270.3);
Tailwind
colors: {
  custom: {
    50: '#57567a',
    500: '#121b46',
    950: '#000000',
  },
}
SCSS
$custom: #121b46;
$custom-light: #57567a;
$custom-dark: #000000;
JSON
{
  "hex": "#121b46",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 229.615,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24322,
    "c": 0.08129,
    "h": 270.3
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#121B46
secondary
#7F7235
accent
#C746E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121B46

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

Preview Lab → · Contrast checker → · Palette generator →

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