#121C3B#121C3B

#121C3B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.061 H 268.1°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#121C3B
RGBrgb(18, 28, 59)
HSLhsl(225, 53%, 15%)
HSVhsv(225, 69%, 23%)
CMYKcmyk(69.5%, 52.5%, 0%, 76.9%)
CIE-LABlab(11.10, 7.32, -21.42)
CIE-LCHlch(11.10, 22.64, 288.86°)
OKLaboklab(23.62% -0.0021 -0.0611)
OKLCHoklch(23.62% 0.061 268.1)
XYZxyz(1.4539, 1.2748, 4.3063)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C3B #3B3112
analogous
#12303B #121C3B #1C123B
triadic
#121C3B #3B121C #1C3B12
tetradic
#121C3B #3B1230 #3B3112 #123B1C
square
#121C3B #3B1230 #3B3112 #123B1C
split-complementary
#121C3B #3B1C12 #303B12
monochromatic
#070B17 #070B17 #121C3B #20326A #2F4999

Accessibility & contrast

On white

16.73
#121C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C3B
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C3B#FFFFFF#000000##FFFFFF
##121C3B1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203C
Deuteranopia (green-blind)
#071C3A
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121c3b;
/* rgb */ color: rgb(18, 28, 59);
/* oklch */ color: oklch(23.6% 0.061 268.1);
Tailwind
colors: {
  custom: {
    50: '#545771',
    500: '#121c3b',
    950: '#000000',
  },
}
SCSS
$custom: #121c3b;
$custom-light: #545771;
$custom-dark: #000000;
JSON
{
  "hex": "#121c3b",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 59
  },
  "hsl": {
    "h": 225.366,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23622,
    "c": 0.06116,
    "h": 268.1
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#121C3B
secondary
#746535
accent
#B94BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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