#1A4897#1A4897

#1A4897 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.139 H 260.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#1A4897
RGBrgb(26, 72, 151)
HSLhsl(218, 71%, 35%)
HSVhsv(218, 83%, 59%)
CMYKcmyk(82.8%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.01, 15.15, -47.66)
CIE-LCHlch(32.01, 50.01, 287.63°)
OKLaboklab(41.89% -0.0229 -0.1373)
OKLCHoklch(41.89% 0.139 260.5)
XYZxyz(8.3272, 7.0877, 30.2013)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4897 #97691A
analogous
#1A8797 #1A4897 #2B1A97
triadic
#1A4897 #971A48 #48971A
tetradic
#1A4897 #971A87 #97691A #1A972B
square
#1A4897 #971A87 #97691A #1A972B
split-complementary
#1A4897 #972B1A #87971A
monochromatic
#08162F #112F63 #1A4897 #2361CB #4B82E0

Accessibility & contrast

On white

8.69
#1A4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1A4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4897
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4897#FFFFFF#000000##FFFFFF
##1A48971.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4897;
/* rgb */ color: rgb(26, 72, 151);
/* oklch */ color: oklch(41.9% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#6d7ab6',
    500: '#1a4897',
    950: '#000000',
  },
}
SCSS
$custom: #1a4897;
$custom-light: #6d7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4897",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 217.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.13922,
    "h": 260.5
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#1A4897
secondary
#C2964B
accent
#AC3AED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4897

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

Preview Lab → · Contrast checker → · Palette generator →

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