#1A4DB4#1A4DB4

#1A4DB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.173 H 262.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#1A4DB4
RGBrgb(26, 77, 180)
HSLhsl(220, 75%, 40%)
HSVhsv(220, 86%, 71%)
CMYKcmyk(85.6%, 57.2%, 0%, 29.4%)
CIE-LABlab(35.64, 23.39, -59.14)
CIE-LCHlch(35.64, 63.60, 291.58°)
OKLaboklab(45.34% -0.0234 -0.171)
OKLCHoklch(45.34% 0.173 262.2)
XYZxyz(11.3151, 8.8212, 44.2775)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4DB4 #B4811A
analogous
#1A9AB4 #1A4DB4 #341AB4
triadic
#1A4DB4 #B41A4D #4DB41A
tetradic
#1A4DB4 #B41A9A #B4811A #1AB434
square
#1A4DB4 #B41A9A #B4811A #1AB434
split-complementary
#1A4DB4 #B4341A #9AB41A
monochromatic
#0B1F49 #12367F #1A4DB4 #2B67E0 #608DE8

Accessibility & contrast

On white

7.60
#1A4DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1A4DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4DB4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4DB4#FFFFFF#000000##FFFFFF
##1A4DB41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a4db4;
/* rgb */ color: rgb(26, 77, 180);
/* oklch */ color: oklch(45.3% 0.173 262.2);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1a4db4',
    950: '#000000',
  },
}
SCSS
$custom: #1a4db4;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4db4",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 220.13,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.17257,
    "h": 262.2
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#1A4DB4
secondary
#CCA85D
accent
#B336F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1A4DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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