#121974#121974

#121974 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.151 H 269.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#121974
RGBrgb(18, 25, 116)
HSLhsl(236, 73%, 26%)
HSVhsv(236, 84%, 45%)
CMYKcmyk(84.5%, 78.4%, 0%, 54.5%)
CIE-LABlab(15.92, 32.59, -52.07)
CIE-LCHlch(15.92, 61.42, 302.04°)
OKLaboklab(28.89% -0.0019 -0.1509)
OKLCHoklch(28.89% 0.151 269.3)
XYZxyz(3.7484, 2.0844, 16.7244)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121974 #746D12
analogous
#124A74 #121974 #3C1274
triadic
#121974 #741219 #197412
tetradic
#121974 #74124A #746D12 #12743C
square
#121974 #74124A #746D12 #12743C
split-complementary
#121974 #743C12 #4A7412
monochromatic
#04061A #0A0E3F #121974 #1A24A9 #2331DD

Accessibility & contrast

On white

14.82
#121974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#121974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121974
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121974#FFFFFF#000000##FFFFFF
##1219741.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121974;
/* rgb */ color: rgb(18, 25, 116);
/* oklch */ color: oklch(28.9% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#65579d',
    500: '#121974',
    950: '#000000',
  },
}
SCSS
$custom: #121974;
$custom-light: #65579d;
$custom-dark: #000000;
JSON
{
  "hex": "#121974",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 235.714,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28888,
    "c": 0.15086,
    "h": 269.3
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#121974
secondary
#ABA237
accent
#E338F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121974

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

Preview Lab → · Contrast checker → · Palette generator →

#121974 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva