#1A3382#1A3382

#1A3382 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.137 H 266.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1A3382
RGBrgb(26, 51, 130)
HSLhsl(226, 67%, 31%)
HSVhsv(226, 80%, 51%)
CMYKcmyk(80%, 60.8%, 0%, 49%)
CIE-LABlab(24.32, 21.22, -47.18)
CIE-LCHlch(24.32, 51.73, 294.21°)
OKLaboklab(35.55% -0.0094 -0.1363)
OKLCHoklch(35.55% 0.137 266.1)
XYZxyz(5.6377, 4.1983, 21.6280)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3382 #82691A
analogous
#1A6782 #1A3382 #351A82
triadic
#1A3382 #821A33 #33821A
tetradic
#1A3382 #821A67 #82691A #1A8235
square
#1A3382 #821A67 #82691A #1A8235
split-complementary
#1A3382 #82351A #67821A
monochromatic
#060B1C #101F4F #1A3382 #2447B5 #3E63D8

Accessibility & contrast

On white

11.41
#1A3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1A3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3382
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3382#FFFFFF#000000##FFFFFF
##1A33821.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3382;
/* rgb */ color: rgb(26, 51, 130);
/* oklch */ color: oklch(35.5% 0.137 266.1);
Tailwind
colors: {
  custom: {
    50: '#696aa7',
    500: '#1a3382',
    950: '#000000',
  },
}
SCSS
$custom: #1a3382;
$custom-light: #696aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3382",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 225.577,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35548,
    "c": 0.13662,
    "h": 266.1
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#1A3382
secondary
#B69A42
accent
#C03EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A3382

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

Preview Lab → · Contrast checker → · Palette generator →

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