#1A2587#1A2587

#1A2587 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.161 H 269.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1A2587
RGBrgb(26, 37, 135)
HSLhsl(234, 68%, 32%)
HSVhsv(234, 81%, 53%)
CMYKcmyk(80.7%, 72.6%, 0%, 47.1%)
CIE-LABlab(21.18, 32.68, -55.47)
CIE-LCHlch(21.18, 64.38, 300.50°)
OKLaboklab(33.39% -0.0013 -0.1607)
OKLCHoklch(33.39% 0.161 269.5)
XYZxyz(5.4592, 3.2914, 23.2646)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2587 #877C1A
analogous
#1A5C87 #1A2587 #461A87
triadic
#1A2587 #871A25 #25871A
tetradic
#1A2587 #871A5C #877C1A #1A8746
square
#1A2587 #871A5C #877C1A #1A8746
split-complementary
#1A2587 #87461A #5C871A
monochromatic
#060920 #101754 #1A2587 #2433BA #4150DA

Accessibility & contrast

On white

12.66
#1A2587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2587
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2587#FFFFFF#000000##FFFFFF
##1A25871.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2587;
/* rgb */ color: rgb(26, 37, 135);
/* oklch */ color: oklch(33.4% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b60ab',
    500: '#1a2587',
    950: '#000000',
  },
}
SCSS
$custom: #1a2587;
$custom-light: #6b60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2587",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 233.945,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33387,
    "c": 0.16067,
    "h": 269.5
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#1A2587
secondary
#BAAE42
accent
#D93DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2587

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

Preview Lab → · Contrast checker → · Palette generator →

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