#1A4796#1A4796

#1A4796 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.139 H 260.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1A4796
RGBrgb(26, 71, 150)
HSLhsl(218, 70%, 35%)
HSVhsv(218, 83%, 59%)
CMYKcmyk(82.7%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.64, 15.43, -47.65)
CIE-LCHlch(31.64, 50.08, 287.94°)
OKLaboklab(41.58% -0.0223 -0.1373)
OKLCHoklch(41.58% 0.139 260.8)
XYZxyz(8.1823, 6.9271, 29.7541)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4796 #96691A
analogous
#1A8596 #1A4796 #2B1A96
triadic
#1A4796 #961A47 #47961A
tetradic
#1A4796 #961A85 #96691A #1A962B
square
#1A4796 #961A85 #96691A #1A962B
split-complementary
#1A4796 #962B1A #85961A
monochromatic
#08162E #112E62 #1A4796 #2360CA #4B81E0

Accessibility & contrast

On white

8.80
#1A4796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1A4796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4796
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4796#FFFFFF#000000##FFFFFF
##1A47961.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115099
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4796;
/* rgb */ color: rgb(26, 71, 150);
/* oklch */ color: oklch(41.6% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#6c79b5',
    500: '#1a4796',
    950: '#000000',
  },
}
SCSS
$custom: #1a4796;
$custom-light: #6c79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4796",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 218.226,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.13909,
    "h": 260.8
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#1A4796
secondary
#C2964A
accent
#AC3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4796

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

Preview Lab → · Contrast checker → · Palette generator →

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