#1A164D#1A164D

#1A164D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.097 H 279.7°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1A164D
RGBrgb(26, 22, 77)
HSLhsl(244, 56%, 19%)
HSVhsv(244, 71%, 30%)
CMYKcmyk(66.2%, 71.4%, 0%, 69.8%)
CIE-LABlab(11.48, 20.79, -33.38)
CIE-LCHlch(11.48, 39.32, 301.91°)
OKLaboklab(24.56% 0.0164 -0.0961)
OKLCHoklch(24.56% 0.097 279.7)
XYZxyz(2.0520, 1.3291, 7.1681)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A164D #494D16
analogous
#162E4D #1A164D #36164D
triadic
#1A164D #4D1A16 #164D1A
tetradic
#1A164D #4D162E #494D16 #164D36
square
#1A164D #4D162E #494D16 #164D36
split-complementary
#1A164D #4D3616 #2E4D16
monochromatic
#080718 #0A081D #1A164D #2A247D #3A31AC

Accessibility & contrast

On white

16.59
#1A164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A164D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A164D#FFFFFF#000000##FFFFFF
##1A164D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a164d;
/* rgb */ color: rgb(26, 22, 77);
/* oklch */ color: oklch(24.6% 0.097 279.7);
Tailwind
colors: {
  custom: {
    50: '#5d537f',
    500: '#1a164d',
    950: '#000000',
  },
}
SCSS
$custom: #1a164d;
$custom-light: #5d537f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a164d",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 244.364,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24557,
    "c": 0.09749,
    "h": 279.7
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#1A164D
secondary
#7F853A
accent
#DF49D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A164D

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

Preview Lab → · Contrast checker → · Palette generator →

#1A164D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva