#1A4997#1A4997

#1A4997 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.138 H 260.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#1A4997
RGBrgb(26, 73, 151)
HSLhsl(217, 71%, 35%)
HSVhsv(217, 83%, 59%)
CMYKcmyk(82.8%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.30, 14.47, -47.19)
CIE-LCHlch(32.30, 49.36, 287.04°)
OKLaboklab(42.11% -0.0237 -0.1359)
OKLCHoklch(42.11% 0.138 260.1)
XYZxyz(8.3924, 7.2180, 30.2231)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4997 #97681A
analogous
#1A8897 #1A4997 #2A1A97
triadic
#1A4997 #971A49 #49971A
tetradic
#1A4997 #971A88 #97681A #1A972A
square
#1A4997 #971A88 #97681A #1A972A
split-complementary
#1A4997 #972A1A #88971A
monochromatic
#08172F #113063 #1A4997 #2362CB #4B83E0

Accessibility & contrast

On white

8.59
#1A4997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1A4997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4997
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4997#FFFFFF#000000##FFFFFF
##1A49971.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4997;
/* rgb */ color: rgb(26, 73, 151);
/* oklch */ color: oklch(42.1% 0.138 260.1);
Tailwind
colors: {
  custom: {
    50: '#6d7bb6',
    500: '#1a4997',
    950: '#000000',
  },
}
SCSS
$custom: #1a4997;
$custom-light: #6d7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4997",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 217.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4211,
    "c": 0.13796,
    "h": 260.1
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#1A4997
secondary
#C2954B
accent
#AA3AED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4997

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

Preview Lab → · Contrast checker → · Palette generator →

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