#1A4387#1A4387

#1A4387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.123 H 260.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1A4387
RGBrgb(26, 67, 135)
HSLhsl(217, 68%, 32%)
HSVhsv(217, 81%, 53%)
CMYKcmyk(80.7%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.37, 12.06, -42.11)
CIE-LCHlch(29.37, 43.80, 285.99°)
OKLaboklab(39.5% -0.0213 -0.1211)
OKLCHoklch(39.5% 0.123 260)
XYZxyz(6.8047, 5.9824, 23.7131)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4387 #875E1A
analogous
#1A7A87 #1A4387 #281A87
triadic
#1A4387 #871A43 #43871A
tetradic
#1A4387 #871A7A #875E1A #1A8728
square
#1A4387 #871A7A #875E1A #1A8728
split-complementary
#1A4387 #87281A #7A871A
monochromatic
#061020 #102A54 #1A4387 #245CBA #417BDA

Accessibility & contrast

On white

9.56
#1A4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1A4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4387
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4387#FFFFFF#000000##FFFFFF
##1A43871.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a4387;
/* rgb */ color: rgb(26, 67, 135);
/* oklch */ color: oklch(39.5% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#6976aa',
    500: '#1a4387',
    950: '#000000',
  },
}
SCSS
$custom: #1a4387;
$custom-light: #6976aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4387",
  "rgb": {
    "r": 26,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 217.431,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.12293,
    "h": 260
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#1A4387
secondary
#BA8D42
accent
#A93DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4387

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

Preview Lab → · Contrast checker → · Palette generator →

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