#1A4588#1A4588

#1A4588 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.0% C 0.122 H 259.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1A4588
RGBrgb(26, 69, 136)
HSLhsl(217, 68%, 32%)
HSVhsv(217, 81%, 53%)
CMYKcmyk(80.9%, 49.3%, 0%, 46.7%)
CIE-LABlab(30.04, 11.09, -41.64)
CIE-LCHlch(30.04, 43.10, 284.92°)
OKLaboklab(40.04% -0.0228 -0.1197)
OKLCHoklch(40.04% 0.122 259.2)
XYZxyz(6.9964, 6.2526, 24.1259)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4588 #885D1A
analogous
#1A7C88 #1A4588 #261A88
triadic
#1A4588 #881A45 #45881A
tetradic
#1A4588 #881A7C #885D1A #1A8826
square
#1A4588 #881A7C #885D1A #1A8826
split-complementary
#1A4588 #88261A #7C881A
monochromatic
#061121 #102B55 #1A4588 #245FBB #427DDB

Accessibility & contrast

On white

9.33
#1A4588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4588
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4588#FFFFFF#000000##FFFFFF
##1A45881.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a4588;
/* rgb */ color: rgb(26, 69, 136);
/* oklch */ color: oklch(40.0% 0.122 259.2);
Tailwind
colors: {
  custom: {
    50: '#6978ab',
    500: '#1a4588',
    950: '#000000',
  },
}
SCSS
$custom: #1a4588;
$custom-light: #6978ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4588",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 216.545,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.12181,
    "h": 259.2
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#1A4588
secondary
#BB8C43
accent
#A73DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4588

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

Preview Lab → · Contrast checker → · Palette generator →

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