#1A164F#1A164F

#1A164F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.101 H 279.2°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#1A164F
RGBrgb(26, 22, 79)
HSLhsl(244, 56%, 20%)
HSVhsv(244, 72%, 31%)
CMYKcmyk(67.1%, 72.2%, 0%, 69%)
CIE-LABlab(11.67, 21.54, -34.44)
CIE-LCHlch(11.67, 40.62, 302.03°)
OKLaboklab(24.76% 0.0162 -0.0992)
OKLCHoklch(24.76% 0.101 279.2)
XYZxyz(2.1237, 1.3578, 7.5458)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A164F #4B4F16
analogous
#162E4F #1A164F #37164F
triadic
#1A164F #4F1A16 #164F1A
tetradic
#1A164F #4F162E #4B4F16 #164F37
square
#1A164F #4F162E #4B4F16 #164F37
split-complementary
#1A164F #4F3716 #2E4F16
monochromatic
#080718 #0A091F #1A164F #2A237F #3A31AF

Accessibility & contrast

On white

16.51
#1A164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A164F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A164F#FFFFFF#000000##FFFFFF
##1A164F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a164f;
/* rgb */ color: rgb(26, 22, 79);
/* oklch */ color: oklch(24.8% 0.101 279.2);
Tailwind
colors: {
  custom: {
    50: '#5e5381',
    500: '#1a164f',
    950: '#000000',
  },
}
SCSS
$custom: #1a164f;
$custom-light: #5e5381;
$custom-dark: #000000;
JSON
{
  "hex": "#1a164f",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 244.211,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2476,
    "c": 0.10051,
    "h": 279.2
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#1A164F
secondary
#81863A
accent
#E048D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A164F

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

Preview Lab → · Contrast checker → · Palette generator →

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