#121C4B#121C4B

#121C4B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.088 H 269.8°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#121C4B
RGBrgb(18, 28, 75)
HSLhsl(229, 61%, 18%)
HSVhsv(229, 76%, 29%)
CMYKcmyk(76%, 62.7%, 0%, 70.6%)
CIE-LABlab(12.40, 14.11, -30.53)
CIE-LCHlch(12.40, 33.64, 294.81°)
OKLaboklab(25.02% -0.0003 -0.0879)
OKLCHoklch(25.02% 0.088 269.8)
XYZxyz(1.9343, 1.4669, 6.8365)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C4B #4B4112
analogous
#12384B #121C4B #24124B
triadic
#121C4B #4B121C #1C4B12
tetradic
#121C4B #4B1238 #4B4112 #124B24
square
#121C4B #4B1238 #4B4112 #124B24
split-complementary
#121C4B #4B2412 #384B12
monochromatic
#060919 #060A1A #121C4B #1E2E7C #2A41AE

Accessibility & contrast

On white

16.24
#121C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C4B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C4B#FFFFFF#000000##FFFFFF
##121C4B1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121c4b;
/* rgb */ color: rgb(18, 28, 75);
/* oklch */ color: oklch(25.0% 0.088 269.8);
Tailwind
colors: {
  custom: {
    50: '#59577e',
    500: '#121c4b',
    950: '#000000',
  },
}
SCSS
$custom: #121c4b;
$custom-light: #59577e;
$custom-dark: #000000;
JSON
{
  "hex": "#121c4b",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 229.474,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25018,
    "c": 0.08792,
    "h": 269.8
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#121C4B
secondary
#847635
accent
#C843E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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