#121B43#121B43

#121B43 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.076 H 270.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#121B43
RGBrgb(18, 27, 67)
HSLhsl(229, 58%, 17%)
HSVhsv(229, 73%, 26%)
CMYKcmyk(73.1%, 59.7%, 0%, 73.7%)
CIE-LABlab(11.40, 11.48, -26.59)
CIE-LCHlch(11.40, 28.96, 293.35°)
OKLaboklab(24.05% 0.0002 -0.0763)
OKLCHoklch(24.05% 0.076 270.2)
XYZxyz(1.6542, 1.3176, 5.4762)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B43 #433A12
analogous
#123443 #121B43 #221243
triadic
#121B43 #43121B #1B4312
tetradic
#121B43 #431234 #433A12 #124322
square
#121B43 #431234 #433A12 #124322
split-complementary
#121B43 #432212 #344312
monochromatic
#060A18 #060A18 #121B43 #1F2E73 #2C42A3

Accessibility & contrast

On white

16.62
#121B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B43
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B43#FFFFFF#000000##FFFFFF
##121B431.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032144
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121b43;
/* rgb */ color: rgb(18, 27, 67);
/* oklch */ color: oklch(24.1% 0.076 270.2);
Tailwind
colors: {
  custom: {
    50: '#575677',
    500: '#121b43',
    950: '#000000',
  },
}
SCSS
$custom: #121b43;
$custom-light: #575677;
$custom-dark: #000000;
JSON
{
  "hex": "#121b43",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 228.98,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24051,
    "c": 0.07633,
    "h": 270.2
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#121B43
secondary
#7C6F35
accent
#C547E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121B43

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

Preview Lab → · Contrast checker → · Palette generator →

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