#121C38#121C38

#121C38 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.4% C 0.056 H 267.2°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#121C38
RGBrgb(18, 28, 56)
HSLhsl(224, 51%, 15%)
HSVhsv(224, 68%, 22%)
CMYKcmyk(67.9%, 50%, 0%, 78%)
CIE-LABlab(10.88, 6.06, -19.63)
CIE-LCHlch(10.88, 20.54, 287.16°)
OKLaboklab(23.39% -0.0027 -0.0558)
OKLCHoklch(23.39% 0.056 267.2)
XYZxyz(1.3783, 1.2445, 3.9082)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C38 #382E12
analogous
#122F38 #121C38 #1B1238
triadic
#121C38 #38121C #1C3812
tetradic
#121C38 #38122F #382E12 #12381B
square
#121C38 #38122F #382E12 #12381B
split-complementary
#121C38 #381B12 #2F3812
monochromatic
#070C17 #070C17 #121C38 #213366 #304A95

Accessibility & contrast

On white

16.81
#121C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C38
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C38#FFFFFF#000000##FFFFFF
##121C381.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#0B1C37
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121c38;
/* rgb */ color: rgb(18, 28, 56);
/* oklch */ color: oklch(23.4% 0.056 267.2);
Tailwind
colors: {
  custom: {
    50: '#54576f',
    500: '#121c38',
    950: '#000000',
  },
}
SCSS
$custom: #121c38;
$custom-light: #54576f;
$custom-dark: #000000;
JSON
{
  "hex": "#121c38",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 224.211,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23387,
    "c": 0.05592,
    "h": 267.2
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#121C38
secondary
#716135
accent
#B54DDB
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121C38

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

Preview Lab → · Contrast checker → · Palette generator →

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