#121C47#121C47

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

Color values

HEX#121C47
RGBrgb(18, 28, 71)
HSLhsl(229, 60%, 17%)
HSVhsv(229, 75%, 28%)
CMYKcmyk(74.6%, 60.6%, 0%, 72.2%)
CIE-LABlab(12.05, 12.41, -28.32)
CIE-LCHlch(12.05, 30.92, 293.66°)
OKLaboklab(24.65% -0.0005 -0.0814)
OKLCHoklch(24.65% 0.081 269.6)
XYZxyz(1.8017, 1.4139, 6.1380)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C47 #473D12
analogous
#123747 #121C47 #221247
triadic
#121C47 #47121C #1C4712
tetradic
#121C47 #471237 #473D12 #124722
square
#121C47 #471237 #473D12 #124722
split-complementary
#121C47 #472212 #374712
monochromatic
#060A18 #060A18 #121C47 #1E2F78 #2B43A9

Accessibility & contrast

On white

16.37
#121C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C47
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C47#FFFFFF#000000##FFFFFF
##121C471.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121c47;
/* rgb */ color: rgb(18, 28, 71);
/* oklch */ color: oklch(24.6% 0.081 269.6);
Tailwind
colors: {
  custom: {
    50: '#57577b',
    500: '#121c47',
    950: '#000000',
  },
}
SCSS
$custom: #121c47;
$custom-light: #57577b;
$custom-dark: #000000;
JSON
{
  "hex": "#121c47",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 228.679,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24648,
    "c": 0.08143,
    "h": 269.6
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#121C47
secondary
#807235
accent
#C545E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121C47

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

Preview Lab → · Contrast checker → · Palette generator →

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