#121651#121651

#121651 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.106 H 272.6°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#121651
RGBrgb(18, 22, 81)
HSLhsl(236, 64%, 19%)
HSVhsv(236, 78%, 32%)
CMYKcmyk(77.8%, 72.8%, 0%, 68.2%)
CIE-LABlab(11.25, 21.07, -36.53)
CIE-LCHlch(11.25, 42.17, 299.97°)
OKLaboklab(24.35% 0.0047 -0.1056)
OKLCHoklch(24.35% 0.106 272.6)
XYZxyz(2.0211, 1.2963, 7.9267)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121651 #514D12
analogous
#123651 #121651 #2E1251
triadic
#121651 #511216 #165112
tetradic
#121651 #511236 #514D12 #12512E
square
#121651 #511236 #514D12 #12512E
split-complementary
#121651 #512E12 #365112
monochromatic
#060719 #07081F #121651 #1D2483 #2831B5

Accessibility & contrast

On white

16.68
#121651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121651
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121651#FFFFFF#000000##FFFFFF
##1216511.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002153
Deuteranopia (green-blind)
#001B50
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121651;
/* rgb */ color: rgb(18, 22, 81);
/* oklch */ color: oklch(24.4% 0.106 272.6);
Tailwind
colors: {
  custom: {
    50: '#5b5383',
    500: '#121651',
    950: '#000000',
  },
}
SCSS
$custom: #121651;
$custom-light: #5b5383;
$custom-dark: #000000;
JSON
{
  "hex": "#121651",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 236.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24352,
    "c": 0.10568,
    "h": 272.6
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#121651
secondary
#8A8435
accent
#DC41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121651

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

Preview Lab → · Contrast checker → · Palette generator →

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