#1A4C9D#1A4C9D

#1A4C9D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.143 H 259.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1A4C9D
RGBrgb(26, 76, 157)
HSLhsl(217, 72%, 36%)
HSVhsv(217, 83%, 62%)
CMYKcmyk(83.4%, 51.6%, 0%, 38.4%)
CIE-LABlab(33.61, 14.86, -48.70)
CIE-LCHlch(33.61, 50.92, 286.96°)
OKLaboklab(43.25% -0.0251 -0.1403)
OKLCHoklch(43.25% 0.143 259.9)
XYZxyz(9.0940, 7.8217, 32.9222)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C9D #9D6B1A
analogous
#1A8D9D #1A4C9D #291A9D
triadic
#1A4C9D #9D1A4C #4C9D1A
tetradic
#1A4C9D #9D1A8D #9D6B1A #1A9D29
square
#1A4C9D #9D1A8D #9D6B1A #1A9D29
split-complementary
#1A4C9D #9D291A #8D9D1A
monochromatic
#091934 #113368 #1A4C9D #2365D2 #4F87E2

Accessibility & contrast

On white

8.19
#1A4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1A4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C9D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C9D#FFFFFF#000000##FFFFFF
##1A4C9D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4c9d;
/* rgb */ color: rgb(26, 76, 157);
/* oklch */ color: oklch(43.3% 0.143 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7dba',
    500: '#1a4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c9d;
$custom-light: #6e7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c9d",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 217.099,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.14253,
    "h": 259.9
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#1A4C9D
secondary
#C4974E
accent
#A939EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1A4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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