#121C46#121C46

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

Color values

HEX#121C46
RGBrgb(18, 28, 70)
HSLhsl(228, 59%, 17%)
HSVhsv(228, 74%, 27%)
CMYKcmyk(74.3%, 60%, 0%, 72.5%)
CIE-LABlab(11.96, 11.99, -27.77)
CIE-LCHlch(11.96, 30.24, 293.35°)
OKLaboklab(24.56% -0.0006 -0.0798)
OKLCHoklch(24.56% 0.08 269.6)
XYZxyz(1.7698, 1.4011, 5.9703)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C46 #463C12
analogous
#123646 #121C46 #221246
triadic
#121C46 #46121C #1C4612
tetradic
#121C46 #461236 #463C12 #124622
square
#121C46 #461236 #463C12 #124622
split-complementary
#121C46 #462212 #364612
monochromatic
#060A18 #060A18 #121C46 #1F2F77 #2B43A7

Accessibility & contrast

On white

16.40
#121C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C46
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C46#FFFFFF#000000##FFFFFF
##121C461.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121c46;
/* rgb */ color: rgb(18, 28, 70);
/* oklch */ color: oklch(24.6% 0.080 269.6);
Tailwind
colors: {
  custom: {
    50: '#57577a',
    500: '#121c46',
    950: '#000000',
  },
}
SCSS
$custom: #121c46;
$custom-light: #57577a;
$custom-dark: #000000;
JSON
{
  "hex": "#121c46",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 228.462,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24558,
    "c": 0.07978,
    "h": 269.6
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#121C46
secondary
#7F7135
accent
#C446E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121C46

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

Preview Lab → · Contrast checker → · Palette generator →

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