#121A39#121A39

#121A39 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 22.9% C 0.061 H 270.2°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#121A39
RGBrgb(18, 26, 57)
HSLhsl(228, 52%, 15%)
HSVhsv(228, 68%, 22%)
CMYKcmyk(68.4%, 54.4%, 0%, 77.6%)
CIE-LABlab(10.28, 8.03, -21.30)
CIE-LCHlch(10.28, 22.77, 290.65°)
OKLaboklab(22.95% 0.0002 -0.0608)
OKLCHoklch(22.95% 0.061 270.2)
XYZxyz(1.3571, 1.1627, 4.0230)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A39 #393112
analogous
#122E39 #121A39 #1E1239
triadic
#121A39 #39121A #1A3912
tetradic
#121A39 #39122E #393112 #12391E
square
#121A39 #39122E #393112 #12391E
split-complementary
#121A39 #391E12 #2E3912
monochromatic
#070B17 #070B17 #121A39 #212F68 #2F4496

Accessibility & contrast

On white

17.04
#121A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A39
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A39#FFFFFF#000000##FFFFFF
##121A391.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121a39;
/* rgb */ color: rgb(18, 26, 57);
/* oklch */ color: oklch(22.9% 0.061 270.2);
Tailwind
colors: {
  custom: {
    50: '#54566f',
    500: '#121a39',
    950: '#000000',
  },
}
SCSS
$custom: #121a39;
$custom-light: #54566f;
$custom-dark: #000000;
JSON
{
  "hex": "#121a39",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 227.692,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22949,
    "c": 0.06081,
    "h": 270.2
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#121A39
secondary
#726535
accent
#BE4CDB
background
#F5F5F6
surface
#E9E8EC
border
#C5C4C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121A39

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

Preview Lab → · Contrast checker → · Palette generator →

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