#121C3D#121C3D

#121C3D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.065 H 268.5°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#121C3D
RGBrgb(18, 28, 61)
HSLhsl(226, 54%, 15%)
HSVhsv(226, 70%, 24%)
CMYKcmyk(70.5%, 54.1%, 0%, 76.1%)
CIE-LABlab(11.25, 8.16, -22.60)
CIE-LCHlch(11.25, 24.03, 289.85°)
OKLaboklab(23.78% -0.0017 -0.0646)
OKLCHoklch(23.78% 0.065 268.5)
XYZxyz(1.5067, 1.2959, 4.5847)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C3D #3D3312
analogous
#12313D #121C3D #1E123D
triadic
#121C3D #3D121C #1C3D12
tetradic
#121C3D #3D1231 #3D3312 #123D1E
square
#121C3D #3D1231 #3D3312 #123D1E
split-complementary
#121C3D #3D1E12 #313D12
monochromatic
#070B18 #070B18 #121C3D #20326C #2E479C

Accessibility & contrast

On white

16.68
#121C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C3D
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C3D#FFFFFF#000000##FFFFFF
##121C3D1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121c3d;
/* rgb */ color: rgb(18, 28, 61);
/* oklch */ color: oklch(23.8% 0.065 268.5);
Tailwind
colors: {
  custom: {
    50: '#555773',
    500: '#121c3d',
    950: '#000000',
  },
}
SCSS
$custom: #121c3d;
$custom-light: #555773;
$custom-dark: #000000;
JSON
{
  "hex": "#121c3d",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 226.047,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23784,
    "c": 0.06461,
    "h": 268.5
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#121C3D
secondary
#766735
accent
#BB4ADE
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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