#121D5C#121D5C

#121D5C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.113 H 269.4°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#121D5C
RGBrgb(18, 29, 92)
HSLhsl(231, 67%, 22%)
HSVhsv(231, 80%, 36%)
CMYKcmyk(80.4%, 68.5%, 0%, 63.9%)
CIE-LABlab(14.29, 20.49, -39.00)
CIE-LCHlch(14.29, 44.05, 297.72°)
OKLaboklab(26.92% -0.0012 -0.1127)
OKLCHoklch(26.92% 0.113 269.4)
XYZxyz(2.6199, 1.7798, 10.3286)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D5C #5C5112
analogous
#12425C #121D5C #2C125C
triadic
#121D5C #5C121D #1D5C12
tetradic
#121D5C #5C1242 #5C5112 #125C2C
square
#121D5C #5C1242 #5C5112 #125C2C
split-complementary
#121D5C #5C2C12 #425C12
monochromatic
#05081A #080D29 #121D5C #1C2D8F #263DC2

Accessibility & contrast

On white

15.49
#121D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D5C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D5C#FFFFFF#000000##FFFFFF
##121D5C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121d5c;
/* rgb */ color: rgb(18, 29, 92);
/* oklch */ color: oklch(26.9% 0.113 269.4);
Tailwind
colors: {
  custom: {
    50: '#5d588b',
    500: '#121d5c',
    950: '#000000',
  },
}
SCSS
$custom: #121d5c;
$custom-light: #5d588b;
$custom-dark: #000000;
JSON
{
  "hex": "#121d5c",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 231.081,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26917,
    "c": 0.11276,
    "h": 269.4
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#121D5C
secondary
#948635
accent
#D13EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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