#121D5E#121D5E

#121D5E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.116 H 269.3°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#121D5E
RGBrgb(18, 29, 94)
HSLhsl(231, 68%, 22%)
HSVhsv(231, 81%, 37%)
CMYKcmyk(80.9%, 69.1%, 0%, 63.1%)
CIE-LABlab(14.49, 21.32, -40.00)
CIE-LCHlch(14.49, 45.33, 298.05°)
OKLaboklab(27.13% -0.0013 -0.1157)
OKLCHoklch(27.13% 0.116 269.3)
XYZxyz(2.7085, 1.8152, 10.7951)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D5E #5E5312
analogous
#12435E #121D5E #2D125E
triadic
#121D5E #5E121D #1D5E12
tetradic
#121D5E #5E1243 #5E5312 #125E2D
square
#121D5E #5E1243 #5E5312 #125E2D
split-complementary
#121D5E #5E2D12 #435E12
monochromatic
#05081A #080D2B #121D5E #1C2D91 #263DC5

Accessibility & contrast

On white

15.41
#121D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D5E
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D5E#FFFFFF#000000##FFFFFF
##121D5E1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121d5e;
/* rgb */ color: rgb(18, 29, 94);
/* oklch */ color: oklch(27.1% 0.116 269.3);
Tailwind
colors: {
  custom: {
    50: '#5e588c',
    500: '#121d5e',
    950: '#000000',
  },
}
SCSS
$custom: #121d5e;
$custom-light: #5e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#121d5e",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 231.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27125,
    "c": 0.11571,
    "h": 269.3
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#121D5E
secondary
#968835
accent
#D23DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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