#1A4589#1A4589

#1A4589 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.1% C 0.123 H 259.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1A4589
RGBrgb(26, 69, 137)
HSLhsl(217, 68%, 32%)
HSVhsv(217, 81%, 54%)
CMYKcmyk(81%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.11, 11.50, -42.15)
CIE-LCHlch(30.11, 43.69, 285.27°)
OKLaboklab(40.12% -0.0226 -0.1211)
OKLCHoklch(40.12% 0.123 259.4)
XYZxyz(7.0678, 6.2812, 24.5019)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4589 #895E1A
analogous
#1A7D89 #1A4589 #271A89
triadic
#1A4589 #891A45 #45891A
tetradic
#1A4589 #891A7D #895E1A #1A8927
square
#1A4589 #891A7D #895E1A #1A8927
split-complementary
#1A4589 #89271A #7D891A
monochromatic
#061122 #102B56 #1A4589 #245FBC #427DDB

Accessibility & contrast

On white

9.31
#1A4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1A4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4589
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4589#FFFFFF#000000##FFFFFF
##1A45891.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4589;
/* rgb */ color: rgb(26, 69, 137);
/* oklch */ color: oklch(40.1% 0.123 259.4);
Tailwind
colors: {
  custom: {
    50: '#6978ac',
    500: '#1a4589',
    950: '#000000',
  },
}
SCSS
$custom: #1a4589;
$custom-light: #6978ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4589",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 216.757,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.12324,
    "h": 259.4
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#1A4589
secondary
#BC8D43
accent
#A83DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4589

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

Preview Lab → · Contrast checker → · Palette generator →

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