#121C60#121C60

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

Color values

HEX#121C60
RGBrgb(18, 28, 96)
HSLhsl(232, 68%, 22%)
HSVhsv(232, 81%, 38%)
CMYKcmyk(81.3%, 70.8%, 0%, 62.4%)
CIE-LABlab(14.42, 22.85, -41.45)
CIE-LCHlch(14.42, 47.33, 298.87°)
OKLaboklab(27.14% -0.0008 -0.1199)
OKLCHoklch(27.14% 0.12 269.6)
XYZxyz(2.7753, 1.8033, 11.2659)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C60 #605612
analogous
#124360 #121C60 #2F1260
triadic
#121C60 #60121C #1C6012
tetradic
#121C60 #601243 #605612 #12602F
square
#121C60 #601243 #605612 #12602F
split-complementary
#121C60 #602F12 #436012
monochromatic
#05081A #080D2C #121C60 #1C2B94 #253AC7

Accessibility & contrast

On white

15.43
#121C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C60
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C60#FFFFFF#000000##FFFFFF
##121C601.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121c60;
/* rgb */ color: rgb(18, 28, 96);
/* oklch */ color: oklch(27.1% 0.120 269.6);
Tailwind
colors: {
  custom: {
    50: '#5f588e',
    500: '#121c60',
    950: '#000000',
  },
}
SCSS
$custom: #121c60;
$custom-light: #5f588e;
$custom-dark: #000000;
JSON
{
  "hex": "#121c60",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 232.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27139,
    "c": 0.11992,
    "h": 269.6
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#121C60
secondary
#988C36
accent
#D53DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121C60

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

Preview Lab → · Contrast checker → · Palette generator →

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