#1A1C86#1A1C86

#1A1C86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.169 H 270.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#1A1C86
RGBrgb(26, 28, 134)
HSLhsl(239, 68%, 31%)
HSVhsv(239, 81%, 53%)
CMYKcmyk(80.6%, 79.1%, 0%, 47.5%)
CIE-LABlab(19.10, 37.82, -58.27)
CIE-LCHlch(19.10, 69.46, 302.98°)
OKLaboklab(31.88% 0.0026 -0.1687)
OKLCHoklch(31.88% 0.169 270.9)
XYZxyz(5.1429, 2.7708, 22.8134)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C86 #86841A
analogous
#1A5286 #1A1C86 #4E1A86
triadic
#1A1C86 #861A1C #1C861A
tetradic
#1A1C86 #861A52 #86841A #1A864E
square
#1A1C86 #861A52 #86841A #1A864E
split-complementary
#1A1C86 #864E1A #52861A
monochromatic
#06071F #101153 #1A1C86 #2427B9 #4043DA

Accessibility & contrast

On white

13.51
#1A1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C86
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C86#FFFFFF#000000##FFFFFF
##1A1C861.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1c86;
/* rgb */ color: rgb(26, 28, 134);
/* oklch */ color: oklch(31.9% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c5aaa',
    500: '#1a1c86',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c86;
$custom-light: #6c5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c86",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 238.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31876,
    "c": 0.16875,
    "h": 270.9
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#1A1C86
secondary
#B9B742
accent
#E73DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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