#1A4795#1A4795

#1A4795 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.138 H 260.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1A4795
RGBrgb(26, 71, 149)
HSLhsl(218, 70%, 34%)
HSVhsv(218, 83%, 58%)
CMYKcmyk(82.6%, 52.3%, 0%, 41.6%)
CIE-LABlab(31.57, 15.02, -47.16)
CIE-LCHlch(31.57, 49.49, 287.67°)
OKLaboklab(41.51% -0.0224 -0.1358)
OKLCHoklch(41.51% 0.138 260.6)
XYZxyz(8.1021, 6.8950, 29.3318)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4795 #95681A
analogous
#1A8595 #1A4795 #2B1A95
triadic
#1A4795 #951A47 #47951A
tetradic
#1A4795 #951A85 #95681A #1A952B
square
#1A4795 #951A85 #95681A #1A952B
split-complementary
#1A4795 #952B1A #85951A
monochromatic
#08152D #112E61 #1A4795 #2360C9 #4A81DF

Accessibility & contrast

On white

8.83
#1A4795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1A4795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4795
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4795#FFFFFF#000000##FFFFFF
##1A47951.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4795;
/* rgb */ color: rgb(26, 71, 149);
/* oklch */ color: oklch(41.5% 0.138 260.6);
Tailwind
colors: {
  custom: {
    50: '#6c79b5',
    500: '#1a4795',
    950: '#000000',
  },
}
SCSS
$custom: #1a4795;
$custom-light: #6c79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4795",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 218.049,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.13769,
    "h": 260.6
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A4795

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

Preview Lab → · Contrast checker → · Palette generator →

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