#1A4087#1A4087

#1A4087 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.127 H 261.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1A4087
RGBrgb(26, 64, 135)
HSLhsl(219, 68%, 32%)
HSVhsv(219, 81%, 53%)
CMYKcmyk(80.7%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.47, 14.14, -43.56)
CIE-LCHlch(28.47, 45.79, 287.99°)
OKLaboklab(38.81% -0.0188 -0.1254)
OKLCHoklch(38.81% 0.127 261.5)
XYZxyz(6.6310, 5.6349, 23.6551)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4087 #87611A
analogous
#1A7787 #1A4087 #2B1A87
triadic
#1A4087 #871A40 #40871A
tetradic
#1A4087 #871A77 #87611A #1A872B
square
#1A4087 #871A77 #87611A #1A872B
split-complementary
#1A4087 #872B1A #77871A
monochromatic
#060F20 #102854 #1A4087 #2458BA #4176DA

Accessibility & contrast

On white

9.87
#1A4087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1A4087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4087
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4087#FFFFFF#000000##FFFFFF
##1A40871.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a4087;
/* rgb */ color: rgb(26, 64, 135);
/* oklch */ color: oklch(38.8% 0.127 261.5);
Tailwind
colors: {
  custom: {
    50: '#6974aa',
    500: '#1a4087',
    950: '#000000',
  },
}
SCSS
$custom: #1a4087;
$custom-light: #6974aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4087",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 219.083,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.1268,
    "h": 261.5
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#1A4087
secondary
#BA9142
accent
#AE3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4087

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

Preview Lab → · Contrast checker → · Palette generator →

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