#1A1A86#1A1A86

#1A1A86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.171 H 271.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1A1A86
RGBrgb(26, 26, 134)
HSLhsl(240, 68%, 31%)
HSVhsv(240, 81%, 53%)
CMYKcmyk(80.6%, 80.6%, 0%, 47.5%)
CIE-LABlab(18.71, 38.94, -58.92)
CIE-LCHlch(18.71, 70.62, 303.46°)
OKLaboklab(31.6% 0.0032 -0.1706)
OKLCHoklch(31.6% 0.171 271.1)
XYZxyz(5.0970, 2.6791, 22.7981)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A86 #86861A
analogous
#1A5086 #1A1A86 #501A86
triadic
#1A1A86 #861A1A #1A861A
tetradic
#1A1A86 #861A50 #86861A #1A8650
square
#1A1A86 #861A50 #86861A #1A8650
split-complementary
#1A1A86 #86501A #50861A
monochromatic
#06061F #101053 #1A1A86 #2424B9 #4040DA

Accessibility & contrast

On white

13.67
#1A1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A86
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A86#FFFFFF#000000##FFFFFF
##1A1A861.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1a86;
/* rgb */ color: rgb(26, 26, 134);
/* oklch */ color: oklch(31.6% 0.171 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1a1a86',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a86;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a86",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.316,
    "c": 0.17061,
    "h": 271.1
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#1A1A86
secondary
#B9B942
accent
#EA3DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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