#121D44#121D44

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

Color values

HEX#121D44
RGBrgb(18, 29, 68)
HSLhsl(227, 58%, 17%)
HSVhsv(227, 74%, 27%)
CMYKcmyk(73.5%, 57.4%, 0%, 73.3%)
CIE-LABlab(12.12, 10.37, -26.12)
CIE-LCHlch(12.12, 28.10, 291.65°)
OKLaboklab(24.62% -0.0019 -0.0749)
OKLCHoklch(24.62% 0.075 268.5)
XYZxyz(1.7319, 1.4245, 5.6514)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D44 #443912
analogous
#123644 #121D44 #201244
triadic
#121D44 #44121D #1D4412
tetradic
#121D44 #441236 #443912 #124420
square
#121D44 #441236 #443912 #124420
split-complementary
#121D44 #442012 #364412
monochromatic
#060A18 #060A18 #121D44 #1F3274 #2C46A5

Accessibility & contrast

On white

16.34
#121D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D44
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D44#FFFFFF#000000##FFFFFF
##121D441.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072245
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121d44;
/* rgb */ color: rgb(18, 29, 68);
/* oklch */ color: oklch(24.6% 0.075 268.5);
Tailwind
colors: {
  custom: {
    50: '#575878',
    500: '#121d44',
    950: '#000000',
  },
}
SCSS
$custom: #121d44;
$custom-light: #575878;
$custom-dark: #000000;
JSON
{
  "hex": "#121d44",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 226.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24623,
    "c": 0.07495,
    "h": 268.5
  },
  "luminance": 0.01425
}

Semantic roles & 50–950 ramp

primary
#121D44
secondary
#7D6D35
accent
#BF46E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121D44

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

Preview Lab → · Contrast checker → · Palette generator →

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