#121B3B#121B3B

#121B3B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.063 H 269.3°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#121B3B
RGBrgb(18, 27, 59)
HSLhsl(227, 53%, 15%)
HSVhsv(227, 69%, 23%)
CMYKcmyk(69.5%, 54.2%, 0%, 76.9%)
CIE-LABlab(10.76, 8.09, -21.96)
CIE-LCHlch(10.76, 23.40, 290.23°)
OKLaboklab(23.37% -0.0008 -0.0627)
OKLCHoklch(23.37% 0.063 269.3)
XYZxyz(1.4305, 1.2281, 4.2985)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B3B #3B3212
analogous
#12303B #121B3B #1D123B
triadic
#121B3B #3B121B #1B3B12
tetradic
#121B3B #3B1230 #3B3212 #123B1D
square
#121B3B #3B1230 #3B3212 #123B1D
split-complementary
#121B3B #3B1D12 #303B12
monochromatic
#070B17 #070B17 #121B3B #20306A #2F4699

Accessibility & contrast

On white

16.86
#121B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121B3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B3B
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B3B#FFFFFF#000000##FFFFFF
##121B3B1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121b3b;
/* rgb */ color: rgb(18, 27, 59);
/* oklch */ color: oklch(23.4% 0.063 269.3);
Tailwind
colors: {
  custom: {
    50: '#555671',
    500: '#121b3b',
    950: '#000000',
  },
}
SCSS
$custom: #121b3b;
$custom-light: #555671;
$custom-dark: #000000;
JSON
{
  "hex": "#121b3b",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 226.829,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23367,
    "c": 0.06271,
    "h": 269.3
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#121B3B
secondary
#746635
accent
#BD4BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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