#121573#121573

#121573 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.154 H 269.8°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#121573
RGBrgb(18, 21, 115)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 84%, 45%)
CMYKcmyk(84.3%, 81.7%, 0%, 54.9%)
CIE-LABlab(14.97, 34.61, -53.01)
CIE-LCHlch(14.97, 63.31, 303.14°)
OKLaboklab(28.18% -0.0005 -0.1535)
OKLCHoklch(28.18% 0.154 269.8)
XYZxyz(3.6111, 1.9023, 16.3932)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121573 #737012
analogous
#124573 #121573 #3F1273
triadic
#121573 #731215 #157312
tetradic
#121573 #731245 #737012 #12733F
square
#121573 #731245 #737012 #12733F
split-complementary
#121573 #733F12 #457312
monochromatic
#04051A #0A0B3E #121573 #1A1FA8 #2329DD

Accessibility & contrast

On white

15.21
#121573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121573
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121573#FFFFFF#000000##FFFFFF
##1215731.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121573;
/* rgb */ color: rgb(18, 21, 115);
/* oklch */ color: oklch(28.2% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#65549c',
    500: '#121573',
    950: '#000000',
  },
}
SCSS
$custom: #121573;
$custom-light: #65549c;
$custom-dark: #000000;
JSON
{
  "hex": "#121573",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 238.144,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28176,
    "c": 0.15353,
    "h": 269.8
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#121573
secondary
#AAA637
accent
#EA38F0
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121573

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

Preview Lab → · Contrast checker → · Palette generator →

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