#1A1687#1A1687

#1A1687 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.175 H 271.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1A1687
RGBrgb(26, 22, 135)
HSLhsl(242, 72%, 31%)
HSVhsv(242, 84%, 53%)
CMYKcmyk(80.7%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.11, 41.38, -60.55)
CIE-LCHlch(18.11, 73.34, 304.35°)
OKLaboklab(31.22% 0.0042 -0.1752)
OKLCHoklch(31.22% 0.175 271.4)
XYZxyz(5.0846, 2.5421, 23.1397)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1687 #838716
analogous
#164A87 #1A1687 #521687
triadic
#1A1687 #871A16 #16871A
tetradic
#1A1687 #87164A #838716 #168752
square
#1A1687 #87164A #838716 #168752
split-complementary
#1A1687 #875216 #4A8716
monochromatic
#06051E #100D52 #1A1687 #241FBC #3F39DF

Accessibility & contrast

On white

13.92
#1A1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1687
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1687#FFFFFF#000000##FFFFFF
##1A16871.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002685
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1687;
/* rgb */ color: rgb(26, 22, 135);
/* oklch */ color: oklch(31.2% 0.175 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d57ab',
    500: '#1a1687',
    950: '#000000',
  },
}
SCSS
$custom: #1a1687;
$custom-light: #6d57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1687",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 242.124,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.17528,
    "h": 271.4
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1687

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

Preview Lab → · Contrast checker → · Palette generator →

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