#1A174E#1A174E

#1A174E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.098 H 279.0°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#1A174E
RGBrgb(26, 23, 78)
HSLhsl(243, 54%, 20%)
HSVhsv(243, 71%, 31%)
CMYKcmyk(66.7%, 70.5%, 0%, 69.4%)
CIE-LABlab(11.84, 20.46, -33.48)
CIE-LCHlch(11.84, 39.24, 301.43°)
OKLaboklab(24.85% 0.0153 -0.0964)
OKLCHoklch(24.85% 0.098 279)
XYZxyz(2.1071, 1.3823, 7.3620)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A174E #4B4E17
analogous
#172F4E #1A174E #36174E
triadic
#1A174E #4E1A17 #174E1A
tetradic
#1A174E #4E172F #4B4E17 #174E36
square
#1A174E #4E172F #4B4E17 #174E36
split-complementary
#1A174E #4E3617 #2F4E17
monochromatic
#080718 #0A091F #1A174E #2A257D #3A33AD

Accessibility & contrast

On white

16.45
#1A174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1A174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A174E
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A174E#FFFFFF#000000##FFFFFF
##1A174E1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a174e;
/* rgb */ color: rgb(26, 23, 78);
/* oklch */ color: oklch(24.9% 0.098 279.0);
Tailwind
colors: {
  custom: {
    50: '#5e5480',
    500: '#1a174e',
    950: '#000000',
  },
}
SCSS
$custom: #1a174e;
$custom-light: #5e5480;
$custom-dark: #000000;
JSON
{
  "hex": "#1a174e",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 243.273,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2485,
    "c": 0.09759,
    "h": 279
  },
  "luminance": 0.01382
}

Semantic roles & 50–950 ramp

primary
#1A174E
secondary
#81853C
accent
#DE4AD6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A174E

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

Preview Lab → · Contrast checker → · Palette generator →

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