#1A3882#1A3882

#1A3882 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.130 H 264.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1A3882
RGBrgb(26, 56, 130)
HSLhsl(223, 67%, 31%)
HSVhsv(223, 80%, 51%)
CMYKcmyk(80%, 56.9%, 0%, 49%)
CIE-LABlab(25.74, 17.70, -44.87)
CIE-LCHlch(25.74, 48.23, 291.53°)
OKLaboklab(36.62% -0.0131 -0.1294)
OKLCHoklch(36.62% 0.13 264.2)
XYZxyz(5.8680, 4.6590, 21.7048)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3882 #82641A
analogous
#1A6C82 #1A3882 #301A82
triadic
#1A3882 #821A38 #38821A
tetradic
#1A3882 #821A6C #82641A #1A8230
square
#1A3882 #821A6C #82641A #1A8230
split-complementary
#1A3882 #82301A #6C821A
monochromatic
#060C1C #10224F #1A3882 #244EB5 #3E6BD8

Accessibility & contrast

On white

10.87
#1A3882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1A3882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3882
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3882#FFFFFF#000000##FFFFFF
##1A38821.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3882;
/* rgb */ color: rgb(26, 56, 130);
/* oklch */ color: oklch(36.6% 0.130 264.2);
Tailwind
colors: {
  custom: {
    50: '#686ea7',
    500: '#1a3882',
    950: '#000000',
  },
}
SCSS
$custom: #1a3882;
$custom-light: #686ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3882",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 222.692,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36618,
    "c": 0.13007,
    "h": 264.2
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#1A3882
secondary
#B69442
accent
#B83EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3882

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

Preview Lab → · Contrast checker → · Palette generator →

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