#1A4D96#1A4D96

#1A4D96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.132 H 258.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1A4D96
RGBrgb(26, 77, 150)
HSLhsl(215, 70%, 35%)
HSVhsv(215, 83%, 59%)
CMYKcmyk(82.7%, 48.7%, 0%, 41.2%)
CIE-LABlab(33.41, 11.34, -44.79)
CIE-LCHlch(33.41, 46.20, 284.21°)
OKLaboklab(42.94% -0.0269 -0.1287)
OKLCHoklch(42.94% 0.132 258.2)
XYZxyz(8.5829, 7.7283, 29.8876)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D96 #96631A
analogous
#1A8B96 #1A4D96 #251A96
triadic
#1A4D96 #961A4D #4D961A
tetradic
#1A4D96 #961A8B #96631A #1A9625
square
#1A4D96 #961A8B #96631A #1A9625
split-complementary
#1A4D96 #96251A #8B961A
monochromatic
#08172E #113262 #1A4D96 #2368CA #4B88E0

Accessibility & contrast

On white

8.25
#1A4D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4D96
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D96#FFFFFF#000000##FFFFFF
##1A4D961.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4d96;
/* rgb */ color: rgb(26, 77, 150);
/* oklch */ color: oklch(42.9% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#6c7eb5',
    500: '#1a4d96',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d96;
$custom-light: #6c7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d96",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 215.323,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.13154,
    "h": 258.2
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#1A4D96
secondary
#C2904A
accent
#A43BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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