#121B33#121B33

#121B33 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.7% C 0.049 H 267.0°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#121B33
RGBrgb(18, 27, 51)
HSLhsl(224, 48%, 14%)
HSVhsv(224, 65%, 20%)
CMYKcmyk(64.7%, 47.1%, 0%, 80%)
CIE-LABlab(10.19, 4.76, -17.12)
CIE-LCHlch(10.19, 17.77, 285.54°)
OKLaboklab(22.75% -0.0025 -0.0485)
OKLCHoklch(22.75% 0.049 267)
XYZxyz(1.2387, 1.1514, 3.2883)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B33 #332A12
analogous
#122B33 #121B33 #191233
triadic
#121B33 #33121B #1B3312
tetradic
#121B33 #33122B #332A12 #123319
square
#121B33 #33122B #332A12 #123319
split-complementary
#121B33 #331912 #2B3312
monochromatic
#080C17 #080C17 #121B33 #223360 #324B8D

Accessibility & contrast

On white

17.07
#121B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B33
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B33#FFFFFF#000000##FFFFFF
##121B331.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D34
Deuteranopia (green-blind)
#0D1A32
Tritanopia (blue-blind)
#032024
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121b33;
/* rgb */ color: rgb(18, 27, 51);
/* oklch */ color: oklch(22.7% 0.049 267.0);
Tailwind
colors: {
  custom: {
    50: '#53566b',
    500: '#121b33',
    950: '#000000',
  },
}
SCSS
$custom: #121b33;
$custom-light: #53566b;
$custom-dark: #000000;
JSON
{
  "hex": "#121b33",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 223.636,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22745,
    "c": 0.04859,
    "h": 267
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#121B33
secondary
#6B5D35
accent
#B350D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121B33

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

Preview Lab → · Contrast checker → · Palette generator →

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