#121647#121647

#121647 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.090 H 273.5°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#121647
RGBrgb(18, 22, 71)
HSLhsl(235, 60%, 17%)
HSVhsv(235, 75%, 28%)
CMYKcmyk(74.6%, 69%, 0%, 72.2%)
CIE-LABlab(10.24, 16.98, -31.27)
CIE-LCHlch(10.24, 35.58, 298.50°)
OKLaboklab(23.3% 0.0055 -0.0902)
OKLCHoklch(23.3% 0.09 273.5)
XYZxyz(1.6733, 1.1572, 6.0952)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121647 #474312
analogous
#123047 #121647 #291247
triadic
#121647 #471216 #164712
tetradic
#121647 #471230 #474312 #124729
square
#121647 #471230 #474312 #124729
split-complementary
#121647 #472912 #304712
monochromatic
#060818 #060818 #121647 #1E2578 #2B34A9

Accessibility & contrast

On white

17.05
#121647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121647
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121647#FFFFFF#000000##FFFFFF
##1216471.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121647;
/* rgb */ color: rgb(18, 22, 71);
/* oklch */ color: oklch(23.3% 0.090 273.5);
Tailwind
colors: {
  custom: {
    50: '#58537b',
    500: '#121647',
    950: '#000000',
  },
}
SCSS
$custom: #121647;
$custom-light: #58537b;
$custom-dark: #000000;
JSON
{
  "hex": "#121647",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 235.472,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23299,
    "c": 0.09033,
    "h": 273.5
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#121647
secondary
#807A35
accent
#D745E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121647

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

Preview Lab → · Contrast checker → · Palette generator →

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