#1A4E9D#1A4E9D

#1A4E9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.140 H 259.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#1A4E9D
RGBrgb(26, 78, 157)
HSLhsl(216, 72%, 36%)
HSVhsv(216, 83%, 62%)
CMYKcmyk(83.4%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.19, 13.50, -47.76)
CIE-LCHlch(34.19, 49.63, 285.79°)
OKLaboklab(43.7% -0.0266 -0.1375)
OKLCHoklch(43.7% 0.14 259)
XYZxyz(9.2340, 8.1016, 32.9688)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E9D #9D691A
analogous
#1A8F9D #1A4E9D #271A9D
triadic
#1A4E9D #9D1A4E #4E9D1A
tetradic
#1A4E9D #9D1A8F #9D691A #1A9D27
square
#1A4E9D #9D1A8F #9D691A #1A9D27
split-complementary
#1A4E9D #9D271A #8F9D1A
monochromatic
#091A34 #113468 #1A4E9D #2368D2 #4F8AE2

Accessibility & contrast

On white

8.01
#1A4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1A4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E9D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E9D#FFFFFF#000000##FFFFFF
##1A4E9D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a4e9d;
/* rgb */ color: rgb(26, 78, 157);
/* oklch */ color: oklch(43.7% 0.140 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7eba',
    500: '#1a4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e9d;
$custom-light: #6e7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e9d",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 216.183,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.14002,
    "h": 259
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#1A4E9D
secondary
#C4964E
accent
#A739EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1A4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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