#121C74#121C74

#121C74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.148 H 268.8°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#121C74
RGBrgb(18, 28, 116)
HSLhsl(234, 73%, 26%)
HSVhsv(234, 84%, 45%)
CMYKcmyk(84.5%, 75.9%, 0%, 54.5%)
CIE-LABlab(16.60, 30.69, -50.95)
CIE-LCHlch(16.60, 59.48, 301.06°)
OKLaboklab(29.37% -0.003 -0.1476)
OKLCHoklch(29.37% 0.148 268.8)
XYZxyz(3.8160, 2.2196, 16.7469)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C74 #746A12
analogous
#124D74 #121C74 #391274
triadic
#121C74 #74121C #1C7412
tetradic
#121C74 #74124D #746A12 #127439
square
#121C74 #74124D #746A12 #127439
split-complementary
#121C74 #743912 #4D7412
monochromatic
#04061A #0A0F3F #121C74 #1A29A9 #2336DD

Accessibility & contrast

On white

14.54
#121C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C74
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C74#FFFFFF#000000##FFFFFF
##121C741.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #121c74;
/* rgb */ color: rgb(18, 28, 116);
/* oklch */ color: oklch(29.4% 0.148 268.8);
Tailwind
colors: {
  custom: {
    50: '#65599d',
    500: '#121c74',
    950: '#000000',
  },
}
SCSS
$custom: #121c74;
$custom-light: #65599d;
$custom-dark: #000000;
JSON
{
  "hex": "#121c74",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 233.878,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2937,
    "c": 0.14766,
    "h": 268.8
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#121C74
secondary
#AB9F37
accent
#DD38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121C74

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

Preview Lab → · Contrast checker → · Palette generator →

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