#121C39#121C39

#121C39 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.5% C 0.058 H 267.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#121C39
RGBrgb(18, 28, 57)
HSLhsl(225, 52%, 15%)
HSVhsv(225, 68%, 22%)
CMYKcmyk(68.4%, 50.9%, 0%, 77.6%)
CIE-LABlab(10.95, 6.48, -20.23)
CIE-LCHlch(10.95, 21.24, 287.76°)
OKLaboklab(23.46% -0.0025 -0.0576)
OKLCHoklch(23.46% 0.058 267.5)
XYZxyz(1.4030, 1.2544, 4.0383)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C39 #392F12
analogous
#123039 #121C39 #1B1239
triadic
#121C39 #39121C #1C3912
tetradic
#121C39 #391230 #392F12 #12391B
square
#121C39 #391230 #392F12 #12391B
split-complementary
#121C39 #391B12 #303912
monochromatic
#070B17 #070B17 #121C39 #213368 #2F4A96

Accessibility & contrast

On white

16.79
#121C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C39
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C39#FFFFFF#000000##FFFFFF
##121C391.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1F3A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121c39;
/* rgb */ color: rgb(18, 28, 57);
/* oklch */ color: oklch(23.5% 0.058 267.5);
Tailwind
colors: {
  custom: {
    50: '#54576f',
    500: '#121c39',
    950: '#000000',
  },
}
SCSS
$custom: #121c39;
$custom-light: #54576f;
$custom-dark: #000000;
JSON
{
  "hex": "#121c39",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 224.615,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23464,
    "c": 0.05766,
    "h": 267.5
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#121C39
secondary
#726235
accent
#B74CDB
background
#F5F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121C39

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

Preview Lab → · Contrast checker → · Palette generator →

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