#1A3789#1A3789

#1A3789 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.141 H 265.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1A3789
RGBrgb(26, 55, 137)
HSLhsl(224, 68%, 32%)
HSVhsv(224, 81%, 54%)
CMYKcmyk(81%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.03, 21.24, -48.76)
CIE-LCHlch(26.03, 53.18, 293.54°)
OKLaboklab(37.02% -0.0119 -0.1409)
OKLCHoklch(37.02% 0.141 265.2)
XYZxyz(6.3060, 4.7574, 24.2480)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3789 #896C1A
analogous
#1A6F89 #1A3789 #341A89
triadic
#1A3789 #891A37 #37891A
tetradic
#1A3789 #891A6F #896C1A #1A8934
square
#1A3789 #891A6F #896C1A #1A8934
split-complementary
#1A3789 #89341A #6F891A
monochromatic
#060E22 #102256 #1A3789 #244CBC #426ADB

Accessibility & contrast

On white

10.76
#1A3789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A3789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3789
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3789#FFFFFF#000000##FFFFFF
##1A37891.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3789;
/* rgb */ color: rgb(26, 55, 137);
/* oklch */ color: oklch(37.0% 0.141 265.2);
Tailwind
colors: {
  custom: {
    50: '#6a6dac',
    500: '#1a3789',
    950: '#000000',
  },
}
SCSS
$custom: #1a3789;
$custom-light: #6a6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3789",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 224.324,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.14136,
    "h": 265.2
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#1A3789
secondary
#BC9C43
accent
#BD3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3789

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

Preview Lab → · Contrast checker → · Palette generator →

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