#121C66#121C66

#121C66 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.129 H 269.4°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#121C66
RGBrgb(18, 28, 102)
HSLhsl(233, 70%, 24%)
HSVhsv(233, 82%, 40%)
CMYKcmyk(82.4%, 72.5%, 0%, 60%)
CIE-LABlab(15.05, 25.26, -44.38)
CIE-LCHlch(15.05, 51.06, 299.65°)
OKLaboklab(27.79% -0.0014 -0.1285)
OKLCHoklch(27.79% 0.129 269.4)
XYZxyz(3.0622, 1.9181, 12.7766)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C66 #665C12
analogous
#124666 #121C66 #321266
triadic
#121C66 #66121C #1C6612
tetradic
#121C66 #661246 #665C12 #126632
square
#121C66 #661246 #665C12 #126632
split-complementary
#121C66 #663212 #466612
monochromatic
#05071A #090E32 #121C66 #1B2A9A #2439CE

Accessibility & contrast

On white

15.18
#121C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C66
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C66#FFFFFF#000000##FFFFFF
##121C661.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121c66;
/* rgb */ color: rgb(18, 28, 102);
/* oklch */ color: oklch(27.8% 0.129 269.4);
Tailwind
colors: {
  custom: {
    50: '#605892',
    500: '#121c66',
    950: '#000000',
  },
}
SCSS
$custom: #121c66;
$custom-light: #605892;
$custom-dark: #000000;
JSON
{
  "hex": "#121c66",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 232.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27791,
    "c": 0.1285,
    "h": 269.4
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#121C66
secondary
#9E9136
accent
#D83BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121C66

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

Preview Lab → · Contrast checker → · Palette generator →

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