#1A4D97#1A4D97

#1A4D97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.0% C 0.133 H 258.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1A4D97
RGBrgb(26, 77, 151)
HSLhsl(216, 71%, 35%)
HSVhsv(216, 83%, 59%)
CMYKcmyk(82.8%, 49%, 0%, 40.8%)
CIE-LABlab(33.48, 11.75, -45.28)
CIE-LCHlch(33.48, 46.78, 284.54°)
OKLaboklab(43.02% -0.0268 -0.1302)
OKLCHoklch(43.02% 0.133 258.4)
XYZxyz(8.6637, 7.7607, 30.3135)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D97 #97641A
analogous
#1A8C97 #1A4D97 #261A97
triadic
#1A4D97 #971A4D #4D971A
tetradic
#1A4D97 #971A8C #97641A #1A9726
square
#1A4D97 #971A8C #97641A #1A9726
split-complementary
#1A4D97 #97261A #8C971A
monochromatic
#08182F #113263 #1A4D97 #2368CB #4B88E0

Accessibility & contrast

On white

8.23
#1A4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1A4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D97
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D97#FFFFFF#000000##FFFFFF
##1A4D971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4d97;
/* rgb */ color: rgb(26, 77, 151);
/* oklch */ color: oklch(43.0% 0.133 258.4);
Tailwind
colors: {
  custom: {
    50: '#6c7eb6',
    500: '#1a4d97',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d97;
$custom-light: #6c7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d97",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 215.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.13294,
    "h": 258.4
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#1A4D97
secondary
#C2914B
accent
#A43AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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