#121D38#121D38

#121D38 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.6% C 0.054 H 265.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#121D38
RGBrgb(18, 29, 56)
HSLhsl(223, 51%, 15%)
HSVhsv(223, 68%, 22%)
CMYKcmyk(67.9%, 48.2%, 0%, 78%)
CIE-LABlab(11.22, 5.29, -19.08)
CIE-LCHlch(11.22, 19.80, 285.49°)
OKLaboklab(23.65% -0.0041 -0.0542)
OKLCHoklch(23.65% 0.054 265.7)
XYZxyz(1.4024, 1.2927, 3.9162)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D38 #382D12
analogous
#123038 #121D38 #1A1238
triadic
#121D38 #38121D #1D3812
tetradic
#121D38 #381230 #382D12 #12381A
square
#121D38 #381230 #382D12 #12381A
split-complementary
#121D38 #381A12 #303812
monochromatic
#070C17 #070C17 #121D38 #213566 #304D95

Accessibility & contrast

On white

16.69
#121D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D38
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D38#FFFFFF#000000##FFFFFF
##121D381.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112039
Deuteranopia (green-blind)
#0C1C37
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121d38;
/* rgb */ color: rgb(18, 29, 56);
/* oklch */ color: oklch(23.6% 0.054 265.7);
Tailwind
colors: {
  custom: {
    50: '#54586f',
    500: '#121d38',
    950: '#000000',
  },
}
SCSS
$custom: #121d38;
$custom-light: #54586f;
$custom-dark: #000000;
JSON
{
  "hex": "#121d38",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 222.632,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2365,
    "c": 0.05438,
    "h": 265.7
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#121D38
secondary
#715F35
accent
#B24DDB
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121D38

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

Preview Lab → · Contrast checker → · Palette generator →

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