#1A1986#1A1986

#1A1986 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.172 H 271.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1A1986
RGBrgb(26, 25, 134)
HSLhsl(241, 69%, 31%)
HSVhsv(241, 81%, 53%)
CMYKcmyk(80.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(18.52, 39.49, -59.23)
CIE-LCHlch(18.52, 71.19, 303.69°)
OKLaboklab(31.47% 0.0036 -0.1715)
OKLCHoklch(31.47% 0.172 271.2)
XYZxyz(5.0753, 2.6355, 22.7909)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1986 #858619
analogous
#194E86 #1A1986 #501986
triadic
#1A1986 #861A19 #19861A
tetradic
#1A1986 #86194E #858619 #198650
square
#1A1986 #86194E #858619 #198650
split-complementary
#1A1986 #865019 #4E8619
monochromatic
#06061F #100F52 #1A1986 #2423BA #403EDB

Accessibility & contrast

On white

13.75
#1A1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1986
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1986#FFFFFF#000000##FFFFFF
##1A19861.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a1986;
/* rgb */ color: rgb(26, 25, 134);
/* oklch */ color: oklch(31.5% 0.172 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c58aa',
    500: '#1a1986',
    950: '#000000',
  },
}
SCSS
$custom: #1a1986;
$custom-light: #6c58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1986",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 240.55,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31468,
    "c": 0.17151,
    "h": 271.2
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#1A1986
secondary
#B8BA41
accent
#EB3CEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1986

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

Preview Lab → · Contrast checker → · Palette generator →

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