#1A4C97#1A4C97

#1A4C97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.134 H 258.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1A4C97
RGBrgb(26, 76, 151)
HSLhsl(216, 71%, 35%)
HSVhsv(216, 83%, 59%)
CMYKcmyk(82.8%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.18, 12.43, -45.76)
CIE-LCHlch(33.18, 47.42, 285.19°)
OKLaboklab(42.79% -0.026 -0.1316)
OKLCHoklch(42.79% 0.134 258.8)
XYZxyz(8.5943, 7.6218, 30.2904)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C97 #97651A
analogous
#1A8B97 #1A4C97 #271A97
triadic
#1A4C97 #971A4C #4C971A
tetradic
#1A4C97 #971A8B #97651A #1A9727
square
#1A4C97 #971A8B #97651A #1A9727
split-complementary
#1A4C97 #97271A #8B971A
monochromatic
#08172F #113263 #1A4C97 #2366CB #4B87E0

Accessibility & contrast

On white

8.32
#1A4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1A4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C97
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C97#FFFFFF#000000##FFFFFF
##1A4C971.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4c97;
/* rgb */ color: rgb(26, 76, 151);
/* oklch */ color: oklch(42.8% 0.134 258.8);
Tailwind
colors: {
  custom: {
    50: '#6c7db6',
    500: '#1a4c97',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c97;
$custom-light: #6c7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c97",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 216,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.13418,
    "h": 258.8
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#1A4C97
secondary
#C2924B
accent
#A63AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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