#1A1886#1A1886

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

Color values

HEX#1A1886
RGBrgb(26, 24, 134)
HSLhsl(241, 70%, 31%)
HSVhsv(241, 82%, 53%)
CMYKcmyk(80.6%, 82.1%, 0%, 47.5%)
CIE-LABlab(18.34, 40.02, -59.54)
CIE-LCHlch(18.34, 71.74, 303.91°)
OKLaboklab(31.34% 0.0039 -0.1723)
OKLCHoklch(31.34% 0.172 271.3)
XYZxyz(5.0543, 2.5935, 22.7839)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1886 #848618
analogous
#184D86 #1A1886 #511886
triadic
#1A1886 #861A18 #18861A
tetradic
#1A1886 #86184D #848618 #188651
square
#1A1886 #86184D #848618 #188651
split-complementary
#1A1886 #865118 #4D8618
monochromatic
#06051E #100F52 #1A1886 #2421BA #3F3CDC

Accessibility & contrast

On white

13.83
#1A1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1886
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1886#FFFFFF#000000##FFFFFF
##1A18861.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1886;
/* rgb */ color: rgb(26, 24, 134);
/* oklch */ color: oklch(31.3% 0.172 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c58ab',
    500: '#1a1886',
    950: '#000000',
  },
}
SCSS
$custom: #1a1886;
$custom-light: #6c58ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1886",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 241.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31339,
    "c": 0.17238,
    "h": 271.3
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#1A1886
secondary
#B8BA40
accent
#EC3BE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1886

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

Preview Lab → · Contrast checker → · Palette generator →

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