#12164B#12164B

#12164B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.097 H 273.1°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#12164B
RGBrgb(18, 22, 75)
HSLhsl(236, 61%, 18%)
HSVhsv(236, 76%, 29%)
CMYKcmyk(76%, 70.7%, 0%, 70.6%)
CIE-LABlab(10.63, 18.63, -33.41)
CIE-LCHlch(10.63, 38.25, 299.14°)
OKLaboklab(23.71% 0.0053 -0.0964)
OKLCHoklch(23.71% 0.097 273.1)
XYZxyz(1.8059, 1.2102, 6.7937)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12164B #4B4712
analogous
#12324B #12164B #2A124B
triadic
#12164B #4B1216 #164B12
tetradic
#12164B #4B1232 #4B4712 #124B2A
square
#12164B #4B1232 #4B4712 #124B2A
split-complementary
#12164B #4B2A12 #324B12
monochromatic
#060719 #06081A #12164B #1E247C #2A33AE

Accessibility & contrast

On white

16.91
#12164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#12164B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12164B
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12164B#FFFFFF#000000##FFFFFF
##12164B1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #12164b;
/* rgb */ color: rgb(18, 22, 75);
/* oklch */ color: oklch(23.7% 0.097 273.1);
Tailwind
colors: {
  custom: {
    50: '#59537e',
    500: '#12164b',
    950: '#000000',
  },
}
SCSS
$custom: #12164b;
$custom-light: #59537e;
$custom-dark: #000000;
JSON
{
  "hex": "#12164b",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 235.789,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23712,
    "c": 0.09657,
    "h": 273.1
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#12164B
secondary
#847E35
accent
#D943E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12164B

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

Preview Lab → · Contrast checker → · Palette generator →

#12164B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva