#1A174F#1A174F

#1A174F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.099 H 278.8°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#1A174F
RGBrgb(26, 23, 79)
HSLhsl(243, 55%, 20%)
HSVhsv(243, 71%, 31%)
CMYKcmyk(67.1%, 70.9%, 0%, 69%)
CIE-LABlab(11.94, 20.84, -34.01)
CIE-LCHlch(11.94, 39.89, 301.50°)
OKLaboklab(24.95% 0.0152 -0.0979)
OKLCHoklch(24.95% 0.099 278.8)
XYZxyz(2.1432, 1.3968, 7.5523)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A174F #4C4F17
analogous
#17304F #1A174F #36174F
triadic
#1A174F #4F1A17 #174F1A
tetradic
#1A174F #4F1730 #4C4F17 #174F36
square
#1A174F #4F1730 #4C4F17 #174F36
split-complementary
#1A174F #4F3617 #304F17
monochromatic
#080718 #0A0920 #1A174F #2A257E #3933AE

Accessibility & contrast

On white

16.41
#1A174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A174F
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A174F#FFFFFF#000000##FFFFFF
##1A174F1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a174f;
/* rgb */ color: rgb(26, 23, 79);
/* oklch */ color: oklch(25.0% 0.099 278.8);
Tailwind
colors: {
  custom: {
    50: '#5e5481',
    500: '#1a174f',
    950: '#000000',
  },
}
SCSS
$custom: #1a174f;
$custom-light: #5e5481;
$custom-dark: #000000;
JSON
{
  "hex": "#1a174f",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 243.214,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.24951,
    "c": 0.09911,
    "h": 278.8
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A174F

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

Preview Lab → · Contrast checker → · Palette generator →

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