#1A1C8D#1A1C8D

#1A1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.177 H 270.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1A1C8D
RGBrgb(26, 28, 141)
HSLhsl(239, 69%, 33%)
HSVhsv(239, 82%, 55%)
CMYKcmyk(81.6%, 80.1%, 0%, 44.7%)
CIE-LABlab(19.93, 40.22, -61.28)
CIE-LCHlch(19.93, 73.30, 303.28°)
OKLaboklab(32.7% 0.0012 -0.1774)
OKLCHoklch(32.7% 0.177 270.4)
XYZxyz(5.6473, 2.9726, 25.4703)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C8D #8D8B1A
analogous
#1A558D #1A1C8D #521A8D
triadic
#1A1C8D #8D1A1C #1C8D1A
tetradic
#1A1C8D #8D1A55 #8D8B1A #1A8D52
square
#1A1C8D #8D1A55 #8D8B1A #1A8D52
split-complementary
#1A1C8D #8D521A #558D1A
monochromatic
#070726 #101259 #1A1C8D #2426C1 #4547DD

Accessibility & contrast

On white

13.17
#1A1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C8D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C8D#FFFFFF#000000##FFFFFF
##1A1C8D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1c8d;
/* rgb */ color: rgb(26, 28, 141);
/* oklch */ color: oklch(32.7% 0.177 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e5ab0',
    500: '#1a1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c8d;
$custom-light: #6e5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c8d",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 238.957,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32704,
    "c": 0.17745,
    "h": 270.4
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#1A1C8D
secondary
#BEBC45
accent
#E93CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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