#1A4EB4#1A4EB4

#1A4EB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.171 H 261.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1A4EB4
RGBrgb(26, 78, 180)
HSLhsl(220, 75%, 40%)
HSVhsv(220, 86%, 71%)
CMYKcmyk(85.6%, 56.7%, 0%, 29.4%)
CIE-LABlab(35.91, 22.72, -58.70)
CIE-LCHlch(35.91, 62.94, 291.16°)
OKLaboklab(45.55% -0.024 -0.1696)
OKLCHoklch(45.55% 0.171 261.9)
XYZxyz(11.3856, 8.9622, 44.3010)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4EB4 #B4801A
analogous
#1A9BB4 #1A4EB4 #331AB4
triadic
#1A4EB4 #B41A4E #4EB41A
tetradic
#1A4EB4 #B41A9B #B4801A #1AB433
square
#1A4EB4 #B41A9B #B4801A #1AB433
split-complementary
#1A4EB4 #B4331A #9BB41A
monochromatic
#0B2049 #12377F #1A4EB4 #2B68E0 #608EE8

Accessibility & contrast

On white

7.52
#1A4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1A4EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4EB4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4EB4#FFFFFF#000000##FFFFFF
##1A4EB41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a4eb4;
/* rgb */ color: rgb(26, 78, 180);
/* oklch */ color: oklch(45.5% 0.171 261.9);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1a4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #1a4eb4;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4eb4",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 219.74,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.17133,
    "h": 261.9
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#1A4EB4
secondary
#CCA75D
accent
#B236F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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