#121B36#121B36

#121B36 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.0% C 0.054 H 268.1°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#121B36
RGBrgb(18, 27, 54)
HSLhsl(225, 50%, 14%)
HSVhsv(225, 67%, 21%)
CMYKcmyk(66.7%, 50%, 0%, 78.8%)
CIE-LABlab(10.40, 6.00, -18.96)
CIE-LCHlch(10.40, 19.89, 287.56°)
OKLaboklab(22.97% -0.0018 -0.0539)
OKLCHoklch(22.97% 0.054 268.1)
XYZxyz(1.3070, 1.1787, 3.6479)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B36 #362D12
analogous
#122D36 #121B36 #1B1236
triadic
#121B36 #36121B #1B3612
tetradic
#121B36 #36122D #362D12 #12361B
square
#121B36 #36122D #362D12 #12361B
split-complementary
#121B36 #361B12 #2D3612
monochromatic
#080B17 #080B17 #121B36 #213264 #314992

Accessibility & contrast

On white

16.99
#121B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B36
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B36#FFFFFF#000000##FFFFFF
##121B361.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#012125
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121b36;
/* rgb */ color: rgb(18, 27, 54);
/* oklch */ color: oklch(23.0% 0.054 268.1);
Tailwind
colors: {
  custom: {
    50: '#53566d',
    500: '#121b36',
    950: '#000000',
  },
}
SCSS
$custom: #121b36;
$custom-light: #53566d;
$custom-dark: #000000;
JSON
{
  "hex": "#121b36",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 225,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2297,
    "c": 0.05394,
    "h": 268.1
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#121B36
secondary
#6F6035
accent
#B74EDA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #121B36

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

Preview Lab → · Contrast checker → · Palette generator →

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