#1A4687#1A4687

#1A4687 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.119 H 258.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1A4687
RGBrgb(26, 70, 135)
HSLhsl(216, 68%, 32%)
HSVhsv(216, 81%, 53%)
CMYKcmyk(80.7%, 48.1%, 0%, 47.1%)
CIE-LABlab(30.27, 10.00, -40.65)
CIE-LCHlch(30.27, 41.86, 283.82°)
OKLaboklab(40.2% -0.0238 -0.1167)
OKLCHoklch(40.2% 0.119 258.5)
XYZxyz(6.9877, 6.3484, 23.7740)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4687 #875B1A
analogous
#1A7D87 #1A4687 #251A87
triadic
#1A4687 #871A46 #46871A
tetradic
#1A4687 #871A7D #875B1A #1A8725
square
#1A4687 #871A7D #875B1A #1A8725
split-complementary
#1A4687 #87251A #7D871A
monochromatic
#061120 #102B54 #1A4687 #2461BA #417FDA

Accessibility & contrast

On white

9.25
#1A4687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1A4687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4687
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4687#FFFFFF#000000##FFFFFF
##1A46871.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#044386
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a4687;
/* rgb */ color: rgb(26, 70, 135);
/* oklch */ color: oklch(40.2% 0.119 258.5);
Tailwind
colors: {
  custom: {
    50: '#6978aa',
    500: '#1a4687',
    950: '#000000',
  },
}
SCSS
$custom: #1a4687;
$custom-light: #6978aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4687",
  "rgb": {
    "r": 26,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 215.78,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.11912,
    "h": 258.5
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#1A4687
secondary
#BA8A42
accent
#A53DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4687

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

Preview Lab → · Contrast checker → · Palette generator →

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