#121C3C#121C3C

#121C3C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.063 H 268.3°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#121C3C
RGBrgb(18, 28, 60)
HSLhsl(226, 54%, 15%)
HSVhsv(226, 70%, 24%)
CMYKcmyk(70%, 53.3%, 0%, 76.5%)
CIE-LABlab(11.17, 7.74, -22.01)
CIE-LCHlch(11.17, 23.33, 289.37°)
OKLaboklab(23.7% -0.0019 -0.0629)
OKLCHoklch(23.7% 0.063 268.3)
XYZxyz(1.4800, 1.2852, 4.4442)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C3C #3C3212
analogous
#12313C #121C3C #1D123C
triadic
#121C3C #3C121C #1C3C12
tetradic
#121C3C #3C1231 #3C3212 #123C1D
square
#121C3C #3C1231 #3C3212 #123C1D
split-complementary
#121C3C #3C1D12 #313C12
monochromatic
#070B18 #070B18 #121C3C #20326B #2E489A

Accessibility & contrast

On white

16.71
#121C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C3C
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C3C#FFFFFF#000000##FFFFFF
##121C3C1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121c3c;
/* rgb */ color: rgb(18, 28, 60);
/* oklch */ color: oklch(23.7% 0.063 268.3);
Tailwind
colors: {
  custom: {
    50: '#555772',
    500: '#121c3c',
    950: '#000000',
  },
}
SCSS
$custom: #121c3c;
$custom-light: #555772;
$custom-dark: #000000;
JSON
{
  "hex": "#121c3c",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 225.714,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23702,
    "c": 0.06289,
    "h": 268.3
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#121C3C
secondary
#756635
accent
#BA4BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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