#121C73#121C73

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

Color values

HEX#121C73
RGBrgb(18, 28, 115)
HSLhsl(234, 73%, 26%)
HSVhsv(234, 84%, 45%)
CMYKcmyk(84.3%, 75.7%, 0%, 54.9%)
CIE-LABlab(16.49, 30.31, -50.49)
CIE-LCHlch(16.49, 58.89, 300.98°)
OKLaboklab(29.26% -0.0029 -0.1463)
OKLCHoklch(29.26% 0.146 268.9)
XYZxyz(3.7582, 2.1965, 16.4422)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C73 #736912
analogous
#124C73 #121C73 #381273
triadic
#121C73 #73121C #1C7312
tetradic
#121C73 #73124C #736912 #127338
square
#121C73 #73124C #736912 #127338
split-complementary
#121C73 #733812 #4C7312
monochromatic
#04061A #0A0F3E #121C73 #1A29A8 #2336DD

Accessibility & contrast

On white

14.59
#121C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#121C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C73
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C73#FFFFFF#000000##FFFFFF
##121C731.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121c73;
/* rgb */ color: rgb(18, 28, 115);
/* oklch */ color: oklch(29.3% 0.146 268.9);
Tailwind
colors: {
  custom: {
    50: '#64599c',
    500: '#121c73',
    950: '#000000',
  },
}
SCSS
$custom: #121c73;
$custom-light: #64599c;
$custom-dark: #000000;
JSON
{
  "hex": "#121c73",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 233.814,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29255,
    "c": 0.14633,
    "h": 268.9
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#121C73
secondary
#AA9E37
accent
#DD38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #121C73

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

Preview Lab → · Contrast checker → · Palette generator →

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