#1A4AB4#1A4AB4

#1A4AB4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.176 H 262.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1A4AB4
RGBrgb(26, 74, 180)
HSLhsl(221, 75%, 40%)
HSVhsv(221, 86%, 71%)
CMYKcmyk(85.6%, 58.9%, 0%, 29.4%)
CIE-LABlab(34.82, 25.40, -60.47)
CIE-LCHlch(34.82, 65.59, 292.78°)
OKLaboklab(44.73% -0.0217 -0.1749)
OKLCHoklch(44.73% 0.176 262.9)
XYZxyz(11.1100, 8.4111, 44.2091)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4AB4 #B4841A
analogous
#1A97B4 #1A4AB4 #371AB4
triadic
#1A4AB4 #B41A4A #4AB41A
tetradic
#1A4AB4 #B41A97 #B4841A #1AB437
square
#1A4AB4 #B41A97 #B4841A #1AB437
split-complementary
#1A4AB4 #B4371A #97B41A
monochromatic
#0B1E49 #12347F #1A4AB4 #2B63E0 #608BE8

Accessibility & contrast

On white

7.83
#1A4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1A4AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4AB4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4AB4#FFFFFF#000000##FFFFFF
##1A4AB41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a4ab4;
/* rgb */ color: rgb(26, 74, 180);
/* oklch */ color: oklch(44.7% 0.176 262.9);
Tailwind
colors: {
  custom: {
    50: '#747bcb',
    500: '#1a4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #1a4ab4;
$custom-light: #747bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4ab4",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 221.299,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.17625,
    "h": 262.9
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#1A4AB4
secondary
#CCAA5D
accent
#B736F1
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1A4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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