#121C5C#121C5C

#121C5C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.114 H 269.7°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#121C5C
RGBrgb(18, 28, 92)
HSLhsl(232, 67%, 22%)
HSVhsv(232, 80%, 36%)
CMYKcmyk(80.4%, 69.6%, 0%, 63.9%)
CIE-LABlab(14.01, 21.22, -39.45)
CIE-LCHlch(14.01, 44.79, 298.28°)
OKLaboklab(26.71% -0.0005 -0.1141)
OKLCHoklch(26.71% 0.114 269.7)
XYZxyz(2.5958, 1.7315, 10.3206)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C5C #5C5212
analogous
#12415C #121C5C #2D125C
triadic
#121C5C #5C121C #1C5C12
tetradic
#121C5C #5C1241 #5C5212 #125C2D
square
#121C5C #5C1241 #5C5212 #125C2D
split-complementary
#121C5C #5C2D12 #415C12
monochromatic
#05081A #080C29 #121C5C #1C2C8F #263BC2

Accessibility & contrast

On white

15.60
#121C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#121C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C5C
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C5C#FFFFFF#000000##FFFFFF
##121C5C1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121c5c;
/* rgb */ color: rgb(18, 28, 92);
/* oklch */ color: oklch(26.7% 0.114 269.7);
Tailwind
colors: {
  custom: {
    50: '#5d588b',
    500: '#121c5c',
    950: '#000000',
  },
}
SCSS
$custom: #121c5c;
$custom-light: #5d588b;
$custom-dark: #000000;
JSON
{
  "hex": "#121c5c",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 231.892,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26714,
    "c": 0.11408,
    "h": 269.7
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#121C5C
secondary
#948835
accent
#D33EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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