#1A4AA7#1A4AA7

#1A4AA7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.159 H 261.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1A4AA7
RGBrgb(26, 74, 167)
HSLhsl(220, 73%, 38%)
HSVhsv(220, 84%, 65%)
CMYKcmyk(84.4%, 55.7%, 0%, 34.5%)
CIE-LABlab(33.79, 20.24, -54.43)
CIE-LCHlch(33.79, 58.07, 290.40°)
OKLaboklab(43.62% -0.0226 -0.1572)
OKLCHoklch(43.62% 0.159 261.8)
XYZxyz(9.8473, 7.9060, 37.5587)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4AA7 #A7771A
analogous
#1A91A7 #1A4AA7 #301AA7
triadic
#1A4AA7 #A71A4A #4AA71A
tetradic
#1A4AA7 #A71A91 #A7771A #1AA730
square
#1A4AA7 #A71A91 #A7771A #1AA730
split-complementary
#1A4AA7 #A7301A #91A71A
monochromatic
#0A1B3D #123372 #1A4AA7 #2261DC #5787E5

Accessibility & contrast

On white

8.14
#1A4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A4AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4AA7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4AA7#FFFFFF#000000##FFFFFF
##1A4AA71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4aa7;
/* rgb */ color: rgb(26, 74, 167);
/* oklch */ color: oklch(43.6% 0.159 261.8);
Tailwind
colors: {
  custom: {
    50: '#717bc2',
    500: '#1a4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1a4aa7;
$custom-light: #717bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4aa7",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 219.574,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.15877,
    "h": 261.8
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#1A4AA7
secondary
#C8A155
accent
#B138F0
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1A4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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