#121C33#121C33

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

Color values

HEX#121C33
RGBrgb(18, 28, 51)
HSLhsl(222, 48%, 14%)
HSVhsv(222, 65%, 20%)
CMYKcmyk(64.7%, 45.1%, 0%, 80%)
CIE-LABlab(10.54, 3.99, -16.57)
CIE-LCHlch(10.54, 17.04, 283.54°)
OKLaboklab(23.02% -0.004 -0.0469)
OKLCHoklch(23.02% 0.047 265.1)
XYZxyz(1.2620, 1.1980, 3.2961)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C33 #332912
analogous
#122C33 #121C33 #181233
triadic
#121C33 #33121C #1C3312
tetradic
#121C33 #33122C #332912 #123318
square
#121C33 #33122C #332912 #123318
split-complementary
#121C33 #331812 #2C3312
monochromatic
#080C17 #080C17 #121C33 #223560 #324E8D

Accessibility & contrast

On white

16.94
#121C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C33
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C33#FFFFFF#000000##FFFFFF
##121C331.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E34
Deuteranopia (green-blind)
#0F1B33
Tritanopia (blue-blind)
#032125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121c33;
/* rgb */ color: rgb(18, 28, 51);
/* oklch */ color: oklch(23.0% 0.047 265.1);
Tailwind
colors: {
  custom: {
    50: '#53576b',
    500: '#121c33',
    950: '#000000',
  },
}
SCSS
$custom: #121c33;
$custom-light: #53576b;
$custom-dark: #000000;
JSON
{
  "hex": "#121c33",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 51
  },
  "hsl": {
    "h": 221.818,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23015,
    "c": 0.04707,
    "h": 265.1
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#121C33
secondary
#6B5B35
accent
#AE50D7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121C33

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

Preview Lab → · Contrast checker → · Palette generator →

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