#1A3D96#1A3D96

#1A3D96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.152 H 264.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1A3D96
RGBrgb(26, 61, 150)
HSLhsl(223, 70%, 35%)
HSVhsv(223, 83%, 59%)
CMYKcmyk(82.7%, 59.3%, 0%, 41.2%)
CIE-LABlab(28.79, 22.31, -52.27)
CIE-LCHlch(28.79, 56.83, 293.11°)
OKLaboklab(39.43% -0.0153 -0.1511)
OKLCHoklch(39.43% 0.152 264.2)
XYZxyz(7.5978, 5.7582, 29.5593)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D96 #96731A
analogous
#1A7B96 #1A3D96 #351A96
triadic
#1A3D96 #961A3D #3D961A
tetradic
#1A3D96 #961A7B #96731A #1A9635
square
#1A3D96 #961A7B #96731A #1A9635
split-complementary
#1A3D96 #96351A #7B961A
monochromatic
#08132E #112862 #1A3D96 #2352CA #4B75E0

Accessibility & contrast

On white

9.76
#1A3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A3D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D96
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D96#FFFFFF#000000##FFFFFF
##1A3D961.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3d96;
/* rgb */ color: rgb(26, 61, 150);
/* oklch */ color: oklch(39.4% 0.152 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#1a3d96',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d96;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d96",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 223.065,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.15184,
    "h": 264.2
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#1A3D96
secondary
#C2A04A
accent
#BB3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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