#121C3E#121C3E

#121C3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.066 H 268.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#121C3E
RGBrgb(18, 28, 62)
HSLhsl(226, 55%, 16%)
HSVhsv(226, 71%, 24%)
CMYKcmyk(71%, 54.8%, 0%, 75.7%)
CIE-LABlab(11.32, 8.58, -23.19)
CIE-LCHlch(11.32, 24.73, 290.31°)
OKLaboklab(23.87% -0.0015 -0.0663)
OKLCHoklch(23.87% 0.066 268.7)
XYZxyz(1.5339, 1.3068, 4.7279)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C3E #3E3412
analogous
#12323E #121C3E #1E123E
triadic
#121C3E #3E121C #1C3E12
tetradic
#121C3E #3E1232 #3E3412 #123E1E
square
#121C3E #3E1232 #3E3412 #123E1E
split-complementary
#121C3E #3E1E12 #323E12
monochromatic
#070B18 #070B18 #121C3E #20316D #2E479D

Accessibility & contrast

On white

16.65
#121C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C3E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C3E#FFFFFF#000000##FFFFFF
##121C3E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B203F
Deuteranopia (green-blind)
#041C3D
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121c3e;
/* rgb */ color: rgb(18, 28, 62);
/* oklch */ color: oklch(23.9% 0.066 268.7);
Tailwind
colors: {
  custom: {
    50: '#555773',
    500: '#121c3e',
    950: '#000000',
  },
}
SCSS
$custom: #121c3e;
$custom-light: #555773;
$custom-dark: #000000;
JSON
{
  "hex": "#121c3e",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 226.364,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23866,
    "c": 0.06633,
    "h": 268.7
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#121C3E
secondary
#776835
accent
#BD49DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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