#1A1686#1A1686

#1A1686 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.174 H 271.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#1A1686
RGBrgb(26, 22, 134)
HSLhsl(242, 72%, 31%)
HSVhsv(242, 84%, 53%)
CMYKcmyk(80.6%, 83.6%, 0%, 47.5%)
CIE-LABlab(17.98, 41.05, -60.12)
CIE-LCHlch(17.98, 72.80, 304.33°)
OKLaboklab(31.09% 0.0044 -0.174)
OKLCHoklch(31.09% 0.174 271.5)
XYZxyz(5.0145, 2.5141, 22.7706)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1686 #828616
analogous
#164A86 #1A1686 #521686
triadic
#1A1686 #861A16 #16861A
tetradic
#1A1686 #86164A #828616 #168652
square
#1A1686 #86164A #828616 #168652
split-complementary
#1A1686 #865216 #4A8616
monochromatic
#06051D #100D51 #1A1686 #241FBB #3E38DE

Accessibility & contrast

On white

13.97
#1A1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A1686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1686
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1686#FFFFFF#000000##FFFFFF
##1A16861.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003189
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1686;
/* rgb */ color: rgb(26, 22, 134);
/* oklch */ color: oklch(31.1% 0.174 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c57ab',
    500: '#1a1686',
    950: '#000000',
  },
}
SCSS
$custom: #1a1686;
$custom-light: #6c57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1686",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 242.143,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31093,
    "c": 0.17407,
    "h": 271.5
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#1A1686
secondary
#B6BA3E
accent
#EF39E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1686

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

Preview Lab → · Contrast checker → · Palette generator →

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