#1A4587#1A4587

#1A4587 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.120 H 259.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1A4587
RGBrgb(26, 69, 135)
HSLhsl(216, 68%, 32%)
HSVhsv(216, 81%, 53%)
CMYKcmyk(80.7%, 48.9%, 0%, 47.1%)
CIE-LABlab(29.97, 10.69, -41.14)
CIE-LCHlch(29.97, 42.50, 284.56°)
OKLaboklab(39.96% -0.023 -0.1182)
OKLCHoklch(39.96% 0.12 259)
XYZxyz(6.9257, 6.2243, 23.7534)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4587 #875C1A
analogous
#1A7C87 #1A4587 #251A87
triadic
#1A4587 #871A45 #45871A
tetradic
#1A4587 #871A7C #875C1A #1A8725
square
#1A4587 #871A7C #875C1A #1A8725
split-complementary
#1A4587 #87251A #7C871A
monochromatic
#061120 #102B54 #1A4587 #245FBA #417EDA

Accessibility & contrast

On white

9.35
#1A4587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1A4587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4587
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4587#FFFFFF#000000##FFFFFF
##1A45871.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a4587;
/* rgb */ color: rgb(26, 69, 135);
/* oklch */ color: oklch(40.0% 0.120 259.0);
Tailwind
colors: {
  custom: {
    50: '#6978aa',
    500: '#1a4587',
    950: '#000000',
  },
}
SCSS
$custom: #1a4587;
$custom-light: #6978aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4587",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 216.33,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.12038,
    "h": 259
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#1A4587
secondary
#BA8B42
accent
#A63DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4587

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

Preview Lab → · Contrast checker → · Palette generator →

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