#1A4792#1A4792

#1A4792 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.133 H 260.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1A4792
RGBrgb(26, 71, 146)
HSLhsl(218, 70%, 34%)
HSVhsv(218, 82%, 57%)
CMYKcmyk(82.2%, 51.4%, 0%, 42.7%)
CIE-LABlab(31.35, 13.80, -45.68)
CIE-LCHlch(31.35, 47.72, 286.81°)
OKLaboklab(41.27% -0.0228 -0.1315)
OKLCHoklch(41.27% 0.133 260.1)
XYZxyz(7.8657, 6.8005, 28.0866)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4792 #92651A
analogous
#1A8392 #1A4792 #291A92
triadic
#1A4792 #921A47 #47921A
tetradic
#1A4792 #921A83 #92651A #1A9229
square
#1A4792 #921A83 #92651A #1A9229
split-complementary
#1A4792 #92291A #83921A
monochromatic
#07142A #112E5E #1A4792 #2360C6 #4880DE

Accessibility & contrast

On white

8.90
#1A4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1A4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4792
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4792#FFFFFF#000000##FFFFFF
##1A47921.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185095
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4792;
/* rgb */ color: rgb(26, 71, 146);
/* oklch */ color: oklch(41.3% 0.133 260.1);
Tailwind
colors: {
  custom: {
    50: '#6b79b2',
    500: '#1a4792',
    950: '#000000',
  },
}
SCSS
$custom: #1a4792;
$custom-light: #6b79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4792",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 217.5,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.13347,
    "h": 260.1
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#1A4792
secondary
#C09348
accent
#AA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4792

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

Preview Lab → · Contrast checker → · Palette generator →

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