#1A3587#1A3587

#1A3587 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.141 H 265.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1A3587
RGBrgb(26, 53, 135)
HSLhsl(225, 68%, 32%)
HSVhsv(225, 81%, 53%)
CMYKcmyk(80.7%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.30, 21.83, -48.70)
CIE-LCHlch(25.30, 53.37, 294.15°)
OKLaboklab(36.42% -0.0106 -0.1407)
OKLCHoklch(36.42% 0.141 265.7)
XYZxyz(6.0707, 4.5144, 23.4684)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3587 #876C1A
analogous
#1A6C87 #1A3587 #361A87
triadic
#1A3587 #871A35 #35871A
tetradic
#1A3587 #871A6C #876C1A #1A8736
square
#1A3587 #871A6C #876C1A #1A8736
split-complementary
#1A3587 #87361A #6C871A
monochromatic
#060D20 #102154 #1A3587 #2449BA #4167DA

Accessibility & contrast

On white

11.04
#1A3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1A3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3587
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3587#FFFFFF#000000##FFFFFF
##1A35871.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a3587;
/* rgb */ color: rgb(26, 53, 135);
/* oklch */ color: oklch(36.4% 0.141 265.7);
Tailwind
colors: {
  custom: {
    50: '#6a6bab',
    500: '#1a3587',
    950: '#000000',
  },
}
SCSS
$custom: #1a3587;
$custom-light: #6a6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3587",
  "rgb": {
    "r": 26,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 225.138,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.14112,
    "h": 265.7
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#1A3587
secondary
#BA9D42
accent
#C03DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3587

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

Preview Lab → · Contrast checker → · Palette generator →

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