#121D47#121D47

#121D47 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.080 H 268.9°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#121D47
RGBrgb(18, 29, 71)
HSLhsl(228, 60%, 17%)
HSVhsv(228, 75%, 28%)
CMYKcmyk(74.6%, 59.2%, 0%, 72.2%)
CIE-LABlab(12.37, 11.65, -27.81)
CIE-LCHlch(12.37, 30.15, 292.72°)
OKLaboklab(24.89% -0.0016 -0.0799)
OKLCHoklch(24.89% 0.08 268.9)
XYZxyz(1.8258, 1.4621, 6.1460)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D47 #473C12
analogous
#123847 #121D47 #211247
triadic
#121D47 #47121D #1D4712
tetradic
#121D47 #471238 #473C12 #124721
square
#121D47 #471238 #473C12 #124721
split-complementary
#121D47 #472112 #384712
monochromatic
#060A18 #060A18 #121D47 #1E3178 #2B45A9

Accessibility & contrast

On white

16.25
#121D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D47
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D47#FFFFFF#000000##FFFFFF
##121D471.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032348
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121d47;
/* rgb */ color: rgb(18, 29, 71);
/* oklch */ color: oklch(24.9% 0.080 268.9);
Tailwind
colors: {
  custom: {
    50: '#57587a',
    500: '#121d47',
    950: '#000000',
  },
}
SCSS
$custom: #121d47;
$custom-light: #57587a;
$custom-dark: #000000;
JSON
{
  "hex": "#121d47",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 227.547,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24886,
    "c": 0.07993,
    "h": 268.9
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#121D47
secondary
#807035
accent
#C245E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121D47

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

Preview Lab → · Contrast checker → · Palette generator →

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