#1A4791#1A4791

#1A4791 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.132 H 260.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#1A4791
RGBrgb(26, 71, 145)
HSLhsl(217, 70%, 34%)
HSVhsv(217, 82%, 57%)
CMYKcmyk(82.1%, 51%, 0%, 43.1%)
CIE-LABlab(31.28, 13.39, -45.18)
CIE-LCHlch(31.28, 47.13, 286.51°)
OKLaboklab(41.19% -0.023 -0.13)
OKLCHoklch(41.19% 0.132 260)
XYZxyz(7.7882, 6.7695, 27.6787)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4791 #91641A
analogous
#1A8291 #1A4791 #281A91
triadic
#1A4791 #911A47 #47911A
tetradic
#1A4791 #911A82 #91641A #1A9128
square
#1A4791 #911A82 #91641A #1A9128
split-complementary
#1A4791 #91281A #82911A
monochromatic
#071429 #112E5D #1A4791 #2360C5 #4780DE

Accessibility & contrast

On white

8.92
#1A4791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1A4791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4791
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4791#FFFFFF#000000##FFFFFF
##1A47911.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4791;
/* rgb */ color: rgb(26, 71, 145);
/* oklch */ color: oklch(41.2% 0.132 260.0);
Tailwind
colors: {
  custom: {
    50: '#6b79b2',
    500: '#1a4791',
    950: '#000000',
  },
}
SCSS
$custom: #1a4791;
$custom-light: #6b79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4791",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 217.311,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.13206,
    "h": 260
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#1A4791
secondary
#C09247
accent
#A93BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4791

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

Preview Lab → · Contrast checker → · Palette generator →

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