#121672#121672

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

Color values

HEX#121672
RGBrgb(18, 22, 114)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 84%, 45%)
CMYKcmyk(84.2%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.04, 33.67, -52.23)
CIE-LCHlch(15.04, 62.14, 302.81°)
OKLaboklab(28.2% -0.0006 -0.1513)
OKLCHoklch(28.2% 0.151 269.8)
XYZxyz(3.5726, 1.9169, 16.0980)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121672 #726E12
analogous
#124672 #121672 #3E1272
triadic
#121672 #721216 #167212
tetradic
#121672 #721246 #726E12 #12723E
square
#121672 #721246 #726E12 #12723E
split-complementary
#121672 #723E12 #467212
monochromatic
#04051A #0A0C3D #121672 #1A20A7 #232ADC

Accessibility & contrast

On white

15.18
#121672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121672
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121672#FFFFFF#000000##FFFFFF
##1216721.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121672;
/* rgb */ color: rgb(18, 22, 114);
/* oklch */ color: oklch(28.2% 0.151 269.8);
Tailwind
colors: {
  custom: {
    50: '#65559c',
    500: '#121672',
    950: '#000000',
  },
}
SCSS
$custom: #121672;
$custom-light: #65559c;
$custom-dark: #000000;
JSON
{
  "hex": "#121672",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 237.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28196,
    "c": 0.15129,
    "h": 269.8
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#121672
secondary
#A9A437
accent
#E838EF
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121672

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

Preview Lab → · Contrast checker → · Palette generator →

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