#1A4889#1A4889

#1A4889 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.119 H 257.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1A4889
RGBrgb(26, 72, 137)
HSLhsl(215, 68%, 32%)
HSVhsv(215, 81%, 54%)
CMYKcmyk(81%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.02, 9.45, -40.69)
CIE-LCHlch(31.02, 41.77, 283.08°)
OKLaboklab(40.81% -0.0251 -0.1168)
OKLCHoklch(40.81% 0.119 257.9)
XYZxyz(7.2571, 6.6596, 24.5650)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4889 #895B1A
analogous
#1A8089 #1A4889 #241A89
triadic
#1A4889 #891A48 #48891A
tetradic
#1A4889 #891A80 #895B1A #1A8924
square
#1A4889 #891A80 #895B1A #1A8924
split-complementary
#1A4889 #89241A #80891A
monochromatic
#061222 #102D56 #1A4889 #2463BC #4282DB

Accessibility & contrast

On white

9.01
#1A4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1A4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4889
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4889#FFFFFF#000000##FFFFFF
##1A48891.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a4889;
/* rgb */ color: rgb(26, 72, 137);
/* oklch */ color: oklch(40.8% 0.119 257.9);
Tailwind
colors: {
  custom: {
    50: '#697aac',
    500: '#1a4889',
    950: '#000000',
  },
}
SCSS
$custom: #1a4889;
$custom-light: #697aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4889",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 215.135,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.11946,
    "h": 257.9
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#1A4889
secondary
#BC8A43
accent
#A33DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4889

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

Preview Lab → · Contrast checker → · Palette generator →

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