#1A4C99#1A4C99

#1A4C99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.137 H 259.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1A4C99
RGBrgb(26, 76, 153)
HSLhsl(216, 71%, 35%)
HSVhsv(216, 83%, 60%)
CMYKcmyk(83%, 50.3%, 0%, 40%)
CIE-LABlab(33.32, 13.24, -46.75)
CIE-LCHlch(33.32, 48.59, 285.81°)
OKLaboklab(42.94% -0.0257 -0.1345)
OKLCHoklch(42.94% 0.137 259.2)
XYZxyz(8.7581, 7.6873, 31.1530)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C99 #99671A
analogous
#1A8B99 #1A4C99 #271A99
triadic
#1A4C99 #991A4C #4C991A
tetradic
#1A4C99 #991A8B #99671A #1A9927
square
#1A4C99 #991A8B #99671A #1A9927
split-complementary
#1A4C99 #99271A #8B991A
monochromatic
#081830 #113265 #1A4C99 #2366CD #4D87E1

Accessibility & contrast

On white

8.28
#1A4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1A4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C99
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C99#FFFFFF#000000##FFFFFF
##1A4C991.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4c99;
/* rgb */ color: rgb(26, 76, 153);
/* oklch */ color: oklch(42.9% 0.137 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7db8',
    500: '#1a4c99',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c99;
$custom-light: #6d7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c99",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 216.378,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.13697,
    "h": 259.2
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#1A4C99
secondary
#C3944C
accent
#A73AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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