#121973#121973

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

Color values

HEX#121973
RGBrgb(18, 25, 115)
HSLhsl(236, 73%, 26%)
HSVhsv(236, 84%, 45%)
CMYKcmyk(84.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(15.81, 32.22, -51.62)
CIE-LCHlch(15.81, 60.85, 301.97°)
OKLaboklab(28.77% -0.0018 -0.1495)
OKLCHoklch(28.77% 0.15 269.3)
XYZxyz(3.6905, 2.0612, 16.4197)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121973 #736C12
analogous
#124973 #121973 #3B1273
triadic
#121973 #731219 #197312
tetradic
#121973 #731249 #736C12 #12733B
square
#121973 #731249 #736C12 #12733B
split-complementary
#121973 #733B12 #497312
monochromatic
#04061A #0A0D3E #121973 #1A25A8 #2330DD

Accessibility & contrast

On white

14.87
#121973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121973
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121973#FFFFFF#000000##FFFFFF
##1219731.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121973;
/* rgb */ color: rgb(18, 25, 115);
/* oklch */ color: oklch(28.8% 0.150 269.3);
Tailwind
colors: {
  custom: {
    50: '#65579c',
    500: '#121973',
    950: '#000000',
  },
}
SCSS
$custom: #121973;
$custom-light: #65579c;
$custom-dark: #000000;
JSON
{
  "hex": "#121973",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 235.67,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28769,
    "c": 0.14956,
    "h": 269.3
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#121973
secondary
#AAA137
accent
#E238F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121973

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

Preview Lab → · Contrast checker → · Palette generator →

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