#121B32#121B32

#121B32 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.7% C 0.047 H 266.6°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#121B32
RGBrgb(18, 27, 50)
HSLhsl(223, 47%, 13%)
HSVhsv(223, 64%, 20%)
CMYKcmyk(64%, 46%, 0%, 80.4%)
CIE-LABlab(10.13, 4.35, -16.50)
CIE-LCHlch(10.13, 17.06, 284.77°)
OKLaboklab(22.67% -0.0028 -0.0467)
OKLCHoklch(22.67% 0.047 266.6)
XYZxyz(1.2169, 1.1427, 3.1734)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B32 #322912
analogous
#122B32 #121B32 #191232
triadic
#121B32 #32121B #1B3212
tetradic
#121B32 #32122B #322912 #123219
square
#121B32 #32122B #322912 #123219
split-complementary
#121B32 #321912 #2B3212
monochromatic
#080C17 #080C17 #121B32 #22335F #324C8C

Accessibility & contrast

On white

17.09
#121B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B32
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B32#FFFFFF#000000##FFFFFF
##121B321.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D33
Deuteranopia (green-blind)
#0E1A32
Tritanopia (blue-blind)
#032024
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121b32;
/* rgb */ color: rgb(18, 27, 50);
/* oklch */ color: oklch(22.7% 0.047 266.6);
Tailwind
colors: {
  custom: {
    50: '#53566a',
    500: '#121b32',
    950: '#000000',
  },
}
SCSS
$custom: #121b32;
$custom-light: #53566a;
$custom-dark: #000000;
JSON
{
  "hex": "#121b32",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 223.125,
    "s": 47.059,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22673,
    "c": 0.04679,
    "h": 266.6
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#121B32
secondary
#6A5B36
accent
#B151D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121B32

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

Preview Lab → · Contrast checker → · Palette generator →

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