#121671#121671

#121671 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.150 H 269.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#121671
RGBrgb(18, 22, 113)
HSLhsl(237, 73%, 26%)
HSVhsv(237, 84%, 44%)
CMYKcmyk(84.1%, 80.5%, 0%, 55.7%)
CIE-LABlab(14.92, 33.31, -51.78)
CIE-LCHlch(14.92, 61.57, 302.75°)
OKLaboklab(28.07% -0.0004 -0.15)
OKLCHoklch(28.07% 0.15 269.9)
XYZxyz(3.5160, 1.8943, 15.7999)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121671 #716D12
analogous
#124571 #121671 #3D1271
triadic
#121671 #711216 #167112
tetradic
#121671 #711245 #716D12 #12713D
square
#121671 #711245 #716D12 #12713D
split-complementary
#121671 #713D12 #457112
monochromatic
#04051A #0A0C3C #121671 #1A20A6 #232BDB

Accessibility & contrast

On white

15.23
#121671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121671
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121671#FFFFFF#000000##FFFFFF
##1216711.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121671;
/* rgb */ color: rgb(18, 22, 113);
/* oklch */ color: oklch(28.1% 0.150 269.9);
Tailwind
colors: {
  custom: {
    50: '#64559b',
    500: '#121671',
    950: '#000000',
  },
}
SCSS
$custom: #121671;
$custom-light: #64559b;
$custom-dark: #000000;
JSON
{
  "hex": "#121671",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 237.474,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28073,
    "c": 0.15,
    "h": 269.9
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#121671
secondary
#A8A337
accent
#E839EF
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121671

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

Preview Lab → · Contrast checker → · Palette generator →

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