#121C49#121C49

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

Color values

HEX#121C49
RGBrgb(18, 28, 73)
HSLhsl(229, 60%, 18%)
HSVhsv(229, 75%, 29%)
CMYKcmyk(75.3%, 61.6%, 0%, 71.4%)
CIE-LABlab(12.22, 13.26, -29.43)
CIE-LCHlch(12.22, 32.28, 294.25°)
OKLaboklab(24.83% -0.0004 -0.0847)
OKLCHoklch(24.83% 0.085 269.7)
XYZxyz(1.8669, 1.4400, 6.4816)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C49 #493F12
analogous
#123749 #121C49 #231249
triadic
#121C49 #49121C #1C4912
tetradic
#121C49 #491237 #493F12 #124923
square
#121C49 #491237 #493F12 #124923
split-complementary
#121C49 #492312 #374912
monochromatic
#060919 #060919 #121C49 #1E2F7A #2A42AB

Accessibility & contrast

On white

16.30
#121C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C49
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C49#FFFFFF#000000##FFFFFF
##121C491.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121c49;
/* rgb */ color: rgb(18, 28, 73);
/* oklch */ color: oklch(24.8% 0.085 269.7);
Tailwind
colors: {
  custom: {
    50: '#58577c',
    500: '#121c49',
    950: '#000000',
  },
}
SCSS
$custom: #121c49;
$custom-light: #58577c;
$custom-dark: #000000;
JSON
{
  "hex": "#121c49",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 229.091,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24832,
    "c": 0.08469,
    "h": 269.7
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#121C49
secondary
#827435
accent
#C744E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121C49

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

Preview Lab → · Contrast checker → · Palette generator →

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