#121C72#121C72

#121C72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.145 H 268.9°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#121C72
RGBrgb(18, 28, 114)
HSLhsl(234, 73%, 26%)
HSVhsv(234, 84%, 45%)
CMYKcmyk(84.2%, 75.4%, 0%, 55.3%)
CIE-LABlab(16.37, 29.93, -50.03)
CIE-LCHlch(16.37, 58.30, 300.89°)
OKLaboklab(29.14% -0.0028 -0.145)
OKLCHoklch(29.14% 0.145 268.9)
XYZxyz(3.7009, 2.1736, 16.1408)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C72 #726812
analogous
#124C72 #121C72 #381272
triadic
#121C72 #72121C #1C7212
tetradic
#121C72 #72124C #726812 #127238
square
#121C72 #72124C #726812 #127238
split-complementary
#121C72 #723812 #4C7212
monochromatic
#04061A #0A0F3D #121C72 #1A29A7 #2336DC

Accessibility & contrast

On white

14.64
#121C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#121C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C72
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C72#FFFFFF#000000##FFFFFF
##121C721.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #121c72;
/* rgb */ color: rgb(18, 28, 114);
/* oklch */ color: oklch(29.1% 0.145 268.9);
Tailwind
colors: {
  custom: {
    50: '#64599c',
    500: '#121c72',
    950: '#000000',
  },
}
SCSS
$custom: #121c72;
$custom-light: #64599c;
$custom-dark: #000000;
JSON
{
  "hex": "#121c72",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 233.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2914,
    "c": 0.14499,
    "h": 268.9
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#121C72
secondary
#A99D37
accent
#DC38EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #121C72

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

Preview Lab → · Contrast checker → · Palette generator →

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