#121B49#121B49

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

Color values

HEX#121B49
RGBrgb(18, 27, 73)
HSLhsl(230, 60%, 18%)
HSVhsv(230, 75%, 29%)
CMYKcmyk(75.3%, 63%, 0%, 71.4%)
CIE-LABlab(11.91, 14.03, -29.93)
CIE-LCHlch(11.91, 33.06, 295.11°)
OKLaboklab(24.6% 0.0006 -0.0862)
OKLCHoklch(24.6% 0.086 270.4)
XYZxyz(1.8436, 1.3933, 6.4738)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B49 #494012
analogous
#123649 #121B49 #241249
triadic
#121B49 #49121B #1B4912
tetradic
#121B49 #491236 #494012 #124924
square
#121B49 #491236 #494012 #124924
split-complementary
#121B49 #492412 #364912
monochromatic
#060919 #060919 #121B49 #1E2D7A #2A3FAB

Accessibility & contrast

On white

16.42
#121B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B49
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B49#FFFFFF#000000##FFFFFF
##121B491.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121b49;
/* rgb */ color: rgb(18, 27, 73);
/* oklch */ color: oklch(24.6% 0.086 270.4);
Tailwind
colors: {
  custom: {
    50: '#58577c',
    500: '#121b49',
    950: '#000000',
  },
}
SCSS
$custom: #121b49;
$custom-light: #58577c;
$custom-dark: #000000;
JSON
{
  "hex": "#121b49",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 230.182,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24601,
    "c": 0.08618,
    "h": 270.4
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#121B49
secondary
#827535
accent
#CA44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121B49

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

Preview Lab → · Contrast checker → · Palette generator →

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