#1A1D86#1A1D86

#1A1D86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.168 H 270.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1A1D86
RGBrgb(26, 29, 134)
HSLhsl(238, 68%, 31%)
HSVhsv(238, 81%, 53%)
CMYKcmyk(80.6%, 78.4%, 0%, 47.5%)
CIE-LABlab(19.30, 37.24, -57.93)
CIE-LCHlch(19.30, 68.87, 302.73°)
OKLaboklab(32.02% 0.0022 -0.1678)
OKLCHoklch(32.02% 0.168 270.7)
XYZxyz(5.1670, 2.8190, 22.8214)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D86 #86831A
analogous
#1A5386 #1A1D86 #4D1A86
triadic
#1A1D86 #861A1D #1D861A
tetradic
#1A1D86 #861A53 #86831A #1A864D
square
#1A1D86 #861A53 #86831A #1A864D
split-complementary
#1A1D86 #864D1A #53861A
monochromatic
#06071F #101253 #1A1D86 #2428B9 #4045DA

Accessibility & contrast

On white

13.43
#1A1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D86
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D86#FFFFFF#000000##FFFFFF
##1A1D861.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1d86;
/* rgb */ color: rgb(26, 29, 134);
/* oklch */ color: oklch(32.0% 0.168 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1a1d86',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d86;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d86",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 238.333,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32019,
    "c": 0.16778,
    "h": 270.7
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#1A1D86
secondary
#B9B642
accent
#E63DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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