#1A4789#1A4789

#1A4789 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.121 H 258.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#1A4789
RGBrgb(26, 71, 137)
HSLhsl(216, 68%, 32%)
HSVhsv(216, 81%, 54%)
CMYKcmyk(81%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.72, 10.13, -41.17)
CIE-LCHlch(30.72, 42.40, 283.82°)
OKLaboklab(40.58% -0.0243 -0.1182)
OKLCHoklch(40.58% 0.121 258.4)
XYZxyz(7.1929, 6.5314, 24.5436)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4789 #895C1A
analogous
#1A7F89 #1A4789 #251A89
triadic
#1A4789 #891A47 #47891A
tetradic
#1A4789 #891A7F #895C1A #1A8925
square
#1A4789 #891A7F #895C1A #1A8925
split-complementary
#1A4789 #89251A #7F891A
monochromatic
#061222 #102C56 #1A4789 #2462BC #4280DB

Accessibility & contrast

On white

9.11
#1A4789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1A4789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4789
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4789#FFFFFF#000000##FFFFFF
##1A47891.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8B
Deuteranopia (green-blind)
#034488
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a4789;
/* rgb */ color: rgb(26, 71, 137);
/* oklch */ color: oklch(40.6% 0.121 258.4);
Tailwind
colors: {
  custom: {
    50: '#6979ac',
    500: '#1a4789',
    950: '#000000',
  },
}
SCSS
$custom: #1a4789;
$custom-light: #6979ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4789",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 215.676,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.12071,
    "h": 258.4
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#1A4789
secondary
#BC8B43
accent
#A43DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4789

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

Preview Lab → · Contrast checker → · Palette generator →

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