#1A174D#1A174D

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

Color values

HEX#1A174D
RGBrgb(26, 23, 77)
HSLhsl(243, 54%, 20%)
HSVhsv(243, 70%, 30%)
CMYKcmyk(66.2%, 70.1%, 0%, 69.8%)
CIE-LABlab(11.74, 20.08, -32.95)
CIE-LCHlch(11.74, 38.58, 301.36°)
OKLaboklab(24.75% 0.0154 -0.0948)
OKLCHoklch(24.75% 0.096 279.2)
XYZxyz(2.0715, 1.3681, 7.1746)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A174D #4A4D17
analogous
#172F4D #1A174D #35174D
triadic
#1A174D #4D1A17 #174D1A
tetradic
#1A174D #4D172F #4A4D17 #174D35
square
#1A174D #4D172F #4A4D17 #174D35
split-complementary
#1A174D #4D3517 #2F4D17
monochromatic
#080718 #0A091E #1A174D #2A257C #3A33AB

Accessibility & contrast

On white

16.49
#1A174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A174D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A174D#FFFFFF#000000##FFFFFF
##1A174D1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a174d;
/* rgb */ color: rgb(26, 23, 77);
/* oklch */ color: oklch(24.8% 0.096 279.2);
Tailwind
colors: {
  custom: {
    50: '#5d547f',
    500: '#1a174d',
    950: '#000000',
  },
}
SCSS
$custom: #1a174d;
$custom-light: #5d547f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a174d",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 243.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24751,
    "c": 0.09606,
    "h": 279.2
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#1A174D
secondary
#80843C
accent
#DD4AD5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A174D

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

Preview Lab → · Contrast checker → · Palette generator →

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