#1A4793#1A4793

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

Color values

HEX#1A4793
RGBrgb(26, 71, 147)
HSLhsl(218, 70%, 34%)
HSVhsv(218, 82%, 58%)
CMYKcmyk(82.3%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.42, 14.21, -46.17)
CIE-LCHlch(31.42, 48.31, 287.10°)
OKLaboklab(41.35% -0.0227 -0.133)
OKLCHoklch(41.35% 0.135 260.3)
XYZxyz(7.9438, 6.8317, 28.4981)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4793 #93661A
analogous
#1A8493 #1A4793 #2A1A93
triadic
#1A4793 #931A47 #47931A
tetradic
#1A4793 #931A84 #93661A #1A932A
square
#1A4793 #931A84 #93661A #1A932A
split-complementary
#1A4793 #932A1A #84931A
monochromatic
#08152B #112E5F #1A4793 #2360C7 #4980DF

Accessibility & contrast

On white

8.87
#1A4793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1A4793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4793
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4793#FFFFFF#000000##FFFFFF
##1A47931.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4793;
/* rgb */ color: rgb(26, 71, 147);
/* oklch */ color: oklch(41.3% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c79b3',
    500: '#1a4793',
    950: '#000000',
  },
}
SCSS
$custom: #1a4793;
$custom-light: #6c79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4793",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 217.686,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.13487,
    "h": 260.3
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#1A4793
secondary
#C09448
accent
#AB3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4793

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

Preview Lab → · Contrast checker → · Palette generator →

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