#121A3E#121A3E

#121A3E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.069 H 270.7°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#121A3E
RGBrgb(18, 26, 62)
HSLhsl(229, 55%, 16%)
HSVhsv(229, 71%, 24%)
CMYKcmyk(71%, 58.1%, 0%, 75.7%)
CIE-LABlab(10.67, 10.13, -24.24)
CIE-LCHlch(10.67, 26.27, 292.69°)
OKLaboklab(23.37% 0.0009 -0.0694)
OKLCHoklch(23.37% 0.069 270.7)
XYZxyz(1.4881, 1.2151, 4.7126)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A3E #3E3612
analogous
#12303E #121A3E #20123E
triadic
#121A3E #3E121A #1A3E12
tetradic
#121A3E #3E1230 #3E3612 #123E20
square
#121A3E #3E1230 #3E3612 #123E20
split-complementary
#121A3E #3E2012 #303E12
monochromatic
#070A18 #070A18 #121A3E #202E6D #2E429D

Accessibility & contrast

On white

16.89
#121A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A3E
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A3E#FFFFFF#000000##FFFFFF
##121A3E1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121a3e;
/* rgb */ color: rgb(18, 26, 62);
/* oklch */ color: oklch(23.4% 0.069 270.7);
Tailwind
colors: {
  custom: {
    50: '#555673',
    500: '#121a3e',
    950: '#000000',
  },
}
SCSS
$custom: #121a3e;
$custom-light: #555673;
$custom-dark: #000000;
JSON
{
  "hex": "#121a3e",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 229.091,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23369,
    "c": 0.06945,
    "h": 270.7
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#121A3E
secondary
#776B35
accent
#C349DE
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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