#1A174C#1A174C

#1A174C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.095 H 279.4°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#1A174C
RGBrgb(26, 23, 76)
HSLhsl(243, 54%, 19%)
HSVhsv(243, 70%, 30%)
CMYKcmyk(65.8%, 69.7%, 0%, 70.2%)
CIE-LABlab(11.65, 19.70, -32.41)
CIE-LCHlch(11.65, 37.93, 301.29°)
OKLaboklab(24.65% 0.0155 -0.0932)
OKLCHoklch(24.65% 0.095 279.4)
XYZxyz(2.0365, 1.3541, 6.9901)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A174C #494C17
analogous
#172F4C #1A174C #35174C
triadic
#1A174C #4C1A17 #174C1A
tetradic
#1A174C #4C172F #494C17 #174C35
square
#1A174C #4C172F #494C17 #174C35
split-complementary
#1A174C #4C3517 #2F4C17
monochromatic
#080717 #0A091D #1A174C #2A257B #3A33AA

Accessibility & contrast

On white

16.53
#1A174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A174C
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A174C#FFFFFF#000000##FFFFFF
##1A174C1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a174c;
/* rgb */ color: rgb(26, 23, 76);
/* oklch */ color: oklch(24.7% 0.095 279.4);
Tailwind
colors: {
  custom: {
    50: '#5d547f',
    500: '#1a174c',
    950: '#000000',
  },
}
SCSS
$custom: #1a174c;
$custom-light: #5d547f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a174c",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 243.396,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24652,
    "c": 0.09452,
    "h": 279.4
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#1A174C
secondary
#7F833C
accent
#DD4BD5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A174C

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

Preview Lab → · Contrast checker → · Palette generator →

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