#121747#121747

#121747 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.089 H 272.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#121747
RGBrgb(18, 23, 71)
HSLhsl(234, 60%, 17%)
HSVhsv(234, 75%, 28%)
CMYKcmyk(74.6%, 67.6%, 0%, 72.2%)
CIE-LABlab(10.53, 16.22, -30.79)
CIE-LCHlch(10.53, 34.81, 297.78°)
OKLaboklab(23.51% 0.0046 -0.0888)
OKLCHoklch(23.51% 0.089 272.9)
XYZxyz(1.6928, 1.1962, 6.1017)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121747 #474212
analogous
#123147 #121747 #281247
triadic
#121747 #471217 #174712
tetradic
#121747 #471231 #474212 #124728
square
#121747 #471231 #474212 #124728
split-complementary
#121747 #472812 #314712
monochromatic
#060818 #060818 #121747 #1E2778 #2B37A9

Accessibility & contrast

On white

16.95
#121747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121747
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121747#FFFFFF#000000##FFFFFF
##1217471.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121747;
/* rgb */ color: rgb(18, 23, 71);
/* oklch */ color: oklch(23.5% 0.089 272.9);
Tailwind
colors: {
  custom: {
    50: '#58537b',
    500: '#121747',
    950: '#000000',
  },
}
SCSS
$custom: #121747;
$custom-light: #58537b;
$custom-dark: #000000;
JSON
{
  "hex": "#121747",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 234.34,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23514,
    "c": 0.08888,
    "h": 272.9
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#121747
secondary
#807935
accent
#D445E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121747

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

Preview Lab → · Contrast checker → · Palette generator →

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