#121C5D#121C5D

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

Color values

HEX#121C5D
RGBrgb(18, 28, 93)
HSLhsl(232, 68%, 22%)
HSVhsv(232, 81%, 36%)
CMYKcmyk(80.6%, 69.9%, 0%, 63.5%)
CIE-LABlab(14.11, 21.63, -39.95)
CIE-LCHlch(14.11, 45.43, 298.43°)
OKLaboklab(26.82% -0.0006 -0.1155)
OKLCHoklch(26.82% 0.116 269.7)
XYZxyz(2.6398, 1.7491, 10.5523)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C5D #5D5312
analogous
#12425D #121C5D #2E125D
triadic
#121C5D #5D121C #1C5D12
tetradic
#121C5D #5D1242 #5D5312 #125D2E
square
#121C5D #5D1242 #5D5312 #125D2E
split-complementary
#121C5D #5D2E12 #425D12
monochromatic
#05081A #080D2A #121C5D #1C2B90 #263BC4

Accessibility & contrast

On white

15.56
#121C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C5D
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C5D#FFFFFF#000000##FFFFFF
##121C5D1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121c5d;
/* rgb */ color: rgb(18, 28, 93);
/* oklch */ color: oklch(26.8% 0.116 269.7);
Tailwind
colors: {
  custom: {
    50: '#5e588c',
    500: '#121c5d',
    950: '#000000',
  },
}
SCSS
$custom: #121c5d;
$custom-light: #5e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#121c5d",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 232,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2682,
    "c": 0.11555,
    "h": 269.7
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#121C5D
secondary
#958935
accent
#D33DEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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