#121F3B#121F3B

#121F3B is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.4% C 0.057 H 263.9°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#121F3B
RGBrgb(18, 31, 59)
HSLhsl(221, 53%, 15%)
HSVhsv(221, 69%, 23%)
CMYKcmyk(69.5%, 47.5%, 0%, 76.9%)
CIE-LABlab(12.12, 5.01, -19.79)
CIE-LCHlch(12.12, 20.42, 284.21°)
OKLaboklab(24.41% -0.006 -0.0563)
OKLCHoklch(24.41% 0.057 263.9)
XYZxyz(1.5286, 1.4242, 4.3312)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F3B #3B2E12
analogous
#12333B #121F3B #1A123B
triadic
#121F3B #3B121F #1F3B12
tetradic
#121F3B #3B1233 #3B2E12 #123B1A
square
#121F3B #3B1233 #3B2E12 #123B1A
split-complementary
#121F3B #3B1A12 #333B12
monochromatic
#070C17 #070C17 #121F3B #20386A #2F5099

Accessibility & contrast

On white

16.34
#121F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F3B
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F3B#FFFFFF#000000##FFFFFF
##121F3B1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#0D1E3A
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121f3b;
/* rgb */ color: rgb(18, 31, 59);
/* oklch */ color: oklch(24.4% 0.057 263.9);
Tailwind
colors: {
  custom: {
    50: '#545a71',
    500: '#121f3b',
    950: '#000000',
  },
}
SCSS
$custom: #121f3b;
$custom-light: #545a71;
$custom-dark: #000000;
JSON
{
  "hex": "#121f3b",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 220.976,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24406,
    "c": 0.05662,
    "h": 263.9
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#121F3B
secondary
#746035
accent
#AF4BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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