#121652#121652

#121652 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.107 H 272.5°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#121652
RGBrgb(18, 22, 82)
HSLhsl(236, 64%, 20%)
HSVhsv(236, 78%, 32%)
CMYKcmyk(78%, 73.2%, 0%, 67.8%)
CIE-LABlab(11.36, 21.47, -37.04)
CIE-LCHlch(11.36, 42.81, 300.10°)
OKLaboklab(24.46% 0.0046 -0.1071)
OKLCHoklch(24.46% 0.107 272.5)
XYZxyz(2.0588, 1.3114, 8.1256)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121652 #524E12
analogous
#123652 #121652 #2E1252
triadic
#121652 #521216 #165212
tetradic
#121652 #521236 #524E12 #12522E
square
#121652 #521236 #524E12 #12522E
split-complementary
#121652 #522E12 #365212
monochromatic
#060719 #070920 #121652 #1D2384 #2831B6

Accessibility & contrast

On white

16.63
#121652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121652
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121652#FFFFFF#000000##FFFFFF
##1216521.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121652;
/* rgb */ color: rgb(18, 22, 82);
/* oklch */ color: oklch(24.5% 0.107 272.5);
Tailwind
colors: {
  custom: {
    50: '#5b5383',
    500: '#121652',
    950: '#000000',
  },
}
SCSS
$custom: #121652;
$custom-light: #5b5383;
$custom-dark: #000000;
JSON
{
  "hex": "#121652",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 236.25,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2446,
    "c": 0.10717,
    "h": 272.5
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#121652
secondary
#8B8535
accent
#DD41E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #121652

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

Preview Lab → · Contrast checker → · Palette generator →

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