#1A4A97#1A4A97

#1A4A97 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.3% C 0.137 H 259.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1A4A97
RGBrgb(26, 74, 151)
HSLhsl(217, 71%, 35%)
HSVhsv(217, 83%, 59%)
CMYKcmyk(82.8%, 51%, 0%, 40.8%)
CIE-LABlab(32.59, 13.79, -46.72)
CIE-LCHlch(32.59, 48.71, 286.44°)
OKLaboklab(42.34% -0.0244 -0.1345)
OKLCHoklch(42.34% 0.137 259.7)
XYZxyz(8.4587, 7.3505, 30.2451)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A97 #97671A
analogous
#1A8997 #1A4A97 #291A97
triadic
#1A4A97 #971A4A #4A971A
tetradic
#1A4A97 #971A89 #97671A #1A9729
square
#1A4A97 #971A89 #97671A #1A9729
split-complementary
#1A4A97 #97291A #89971A
monochromatic
#08172F #113063 #1A4A97 #2364CB #4B84E0

Accessibility & contrast

On white

8.50
#1A4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1A4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A97
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A97#FFFFFF#000000##FFFFFF
##1A4A971.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4a97;
/* rgb */ color: rgb(26, 74, 151);
/* oklch */ color: oklch(42.3% 0.137 259.7);
Tailwind
colors: {
  custom: {
    50: '#6d7bb6',
    500: '#1a4a97',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a97;
$custom-light: #6d7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a97",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 216.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.13669,
    "h": 259.7
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#1A4A97
secondary
#C2944B
accent
#A93AED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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