#121F3C#121F3C

#121F3C is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.5% C 0.058 H 264.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#121F3C
RGBrgb(18, 31, 60)
HSLhsl(221, 54%, 15%)
HSVhsv(221, 70%, 24%)
CMYKcmyk(70%, 48.3%, 0%, 76.5%)
CIE-LABlab(12.19, 5.43, -20.39)
CIE-LCHlch(12.19, 21.10, 284.91°)
OKLaboklab(24.48% -0.0058 -0.058)
OKLCHoklch(24.48% 0.058 264.3)
XYZxyz(1.5548, 1.4347, 4.4691)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F3C #3C2F12
analogous
#12343C #121F3C #1A123C
triadic
#121F3C #3C121F #1F3C12
tetradic
#121F3C #3C1234 #3C2F12 #123C1A
square
#121F3C #3C1234 #3C2F12 #123C1A
split-complementary
#121F3C #3C1A12 #343C12
monochromatic
#070C18 #070C18 #121F3C #20376B #2E509A

Accessibility & contrast

On white

16.32
#121F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F3C
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F3C#FFFFFF#000000##FFFFFF
##121F3C1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121f3c;
/* rgb */ color: rgb(18, 31, 60);
/* oklch */ color: oklch(24.5% 0.058 264.3);
Tailwind
colors: {
  custom: {
    50: '#555a72',
    500: '#121f3c',
    950: '#000000',
  },
}
SCSS
$custom: #121f3c;
$custom-light: #555a72;
$custom-dark: #000000;
JSON
{
  "hex": "#121f3c",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 221.429,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24481,
    "c": 0.05834,
    "h": 264.3
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#121F3C
secondary
#756135
accent
#B04BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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