#1A4A99#1A4A99

#1A4A99 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.139 H 260.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1A4A99
RGBrgb(26, 74, 153)
HSLhsl(217, 71%, 35%)
HSVhsv(217, 83%, 60%)
CMYKcmyk(83%, 51.6%, 0%, 40%)
CIE-LABlab(32.74, 14.60, -47.70)
CIE-LCHlch(32.74, 49.88, 287.02°)
OKLaboklab(42.49% -0.0242 -0.1374)
OKLCHoklch(42.49% 0.139 260)
XYZxyz(8.6225, 7.4160, 31.1078)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A99 #99691A
analogous
#1A8999 #1A4A99 #2A1A99
triadic
#1A4A99 #991A4A #4A991A
tetradic
#1A4A99 #991A89 #99691A #1A992A
square
#1A4A99 #991A89 #99691A #1A992A
split-complementary
#1A4A99 #992A1A #89991A
monochromatic
#081730 #113165 #1A4A99 #2363CD #4D85E1

Accessibility & contrast

On white

8.46
#1A4A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1A4A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A99
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A99#FFFFFF#000000##FFFFFF
##1A4A991.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4a99;
/* rgb */ color: rgb(26, 74, 153);
/* oklch */ color: oklch(42.5% 0.139 260.0);
Tailwind
colors: {
  custom: {
    50: '#6d7bb8',
    500: '#1a4a99',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a99;
$custom-light: #6d7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a99",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 217.323,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.13948,
    "h": 260
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#1A4A99
secondary
#C3964C
accent
#AA3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4A99

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

Preview Lab → · Contrast checker → · Palette generator →

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